-warning: the feature `capture_disjoint_fields` is incomplete and may not be safe to use and/or cause compiler crashes
- --> $DIR/filter-on-struct-member.rs:3:12
- |
-LL | #![feature(capture_disjoint_fields)]
- | ^^^^^^^^^^^^^^^^^^^^^^^
- |
- = note: `#[warn(incomplete_features)]` on by default
- = note: see issue #53488 <https://github.com/rust-lang/rust/issues/53488> for more information
-
error: First Pass analysis includes:
- --> $DIR/filter-on-struct-member.rs:28:13
+ --> $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:28:17
+ --> $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:28:13
+ --> $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:28:17
+ --> $DIR/filter-on-struct-member.rs:24:17
|
LL | |v| self.filter.allowed(*v),
| ^^^^^^^^^^^
-error: aborting due to 2 previous errors; 1 warning emitted
+error: aborting due to 2 previous errors