]> git.lizzy.rs Git - rust.git/blob - tests/ui/underscore-lifetime/where-clause-trait-impl-region.rust2018.stderr
Rollup merge of #107086 - clubby789:bootstrap-lock-pid-linux, r=albertlarsan68
[rust.git] / tests / ui / underscore-lifetime / where-clause-trait-impl-region.rust2018.stderr
1 error[E0637]: `&` without an explicit lifetime name cannot be used here
2   --> $DIR/where-clause-trait-impl-region.rs:11:17
3    |
4 LL |     T: WithType<&u32>
5    |                 ^ explicit lifetime name needed here
6    |
7 help: consider introducing a higher-ranked lifetime here with `for<'a>`
8   --> $DIR/where-clause-trait-impl-region.rs:11:8
9    |
10 LL |     T: WithType<&u32>
11    |        ^
12
13 error: aborting due to previous error
14
15 For more information about this error, try `rustc --explain E0637`.