diff options
author | SoniEx2 <endermoneymod@gmail.com> | 2022-12-04 16:43:07 -0300 |
---|---|---|
committer | SoniEx2 <endermoneymod@gmail.com> | 2022-12-04 16:43:07 -0300 |
commit | 72519f2161672a2edcd393a41f9f2cd01eddc22f (patch) | |
tree | e23cf5aae200616435d17970366834126f6e34cc /tests/ui/example_need_cell.stderr | |
parent | ba97c812bd97c9a086aea5b3ce89c87e4b0222ec (diff) |
Use a wrapper struct to enable closures
Diffstat (limited to 'tests/ui/example_need_cell.stderr')
-rw-r--r-- | tests/ui/example_need_cell.stderr | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/ui/example_need_cell.stderr b/tests/ui/example_need_cell.stderr new file mode 100644 index 0000000..a01c9ae --- /dev/null +++ b/tests/ui/example_need_cell.stderr @@ -0,0 +1,5 @@ +error[E0425]: cannot find value `x` in this scope + --> tests/ui/example_need_cell.rs:11:38 + | +11 | let x = MySelfRefStruct { this: &x }; + | ^ not found in this scope |