summaryrefslogtreecommitdiffstats
path: root/tests/ui/closures/2229_closure_analysis/filter-on-struct-member.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/closures/2229_closure_analysis/filter-on-struct-member.stderr')
-rw-r--r--tests/ui/closures/2229_closure_analysis/filter-on-struct-member.stderr26
1 files changed, 26 insertions, 0 deletions
diff --git a/tests/ui/closures/2229_closure_analysis/filter-on-struct-member.stderr b/tests/ui/closures/2229_closure_analysis/filter-on-struct-member.stderr
new file mode 100644
index 000000000..10e0d076b
--- /dev/null
+++ b/tests/ui/closures/2229_closure_analysis/filter-on-struct-member.stderr
@@ -0,0 +1,26 @@
+error: First Pass analysis includes:
+ --> $DIR/filter-on-struct-member.rs:24:13
+ |
+LL | |v| self.filter.allowed(*v),
+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
+ |
+note: Capturing self[Deref,(0, 0)] -> ImmBorrow
+ --> $DIR/filter-on-struct-member.rs:24:17
+ |
+LL | |v| self.filter.allowed(*v),
+ | ^^^^^^^^^^^
+
+error: Min Capture analysis includes:
+ --> $DIR/filter-on-struct-member.rs:24:13
+ |
+LL | |v| self.filter.allowed(*v),
+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
+ |
+note: Min Capture self[Deref,(0, 0)] -> ImmBorrow
+ --> $DIR/filter-on-struct-member.rs:24:17
+ |
+LL | |v| self.filter.allowed(*v),
+ | ^^^^^^^^^^^
+
+error: aborting due to 2 previous errors
+