From 72519f2161672a2edcd393a41f9f2cd01eddc22f Mon Sep 17 00:00:00 2001 From: SoniEx2 Date: Sun, 4 Dec 2022 16:43:07 -0300 Subject: Use a wrapper struct to enable closures --- tests/ui/example_need_cell.stderr | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 tests/ui/example_need_cell.stderr (limited to 'tests/ui/example_need_cell.stderr') 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 -- cgit 1.4.1