]> git.lizzy.rs Git - rust.git/blob - src/test/ui/generic-associated-types/collectivity-regression.stderr
Rollup merge of #104024 - noeddl:unused-must-use, r=compiler-errors
[rust.git] / src / test / ui / generic-associated-types / collectivity-regression.stderr
1 error: `T` does not live long enough
2   --> $DIR/collectivity-regression.rs:13:5
3    |
4 LL | /     || {
5 LL | |
6 LL | |         //
7 LL | |         // FIXME(#98437). This regressed at some point and
8 LL | |         // probably should work.
9 LL | |         let _x = x;
10 LL | |     };
11    | |_____^
12
13 error: aborting due to previous error
14