2018-10-11 14:51:44 -05:00
|
|
|
error[E0637]: `&` without an explicit lifetime name cannot be used here
|
2023-06-29 19:30:50 -05:00
|
|
|
--> $DIR/where-clause-trait-impl-region-2015.rs:10:17
|
2018-10-11 14:51:44 -05:00
|
|
|
|
|
|
|
|
LL | T: WithType<&u32>
|
|
|
|
| ^ explicit lifetime name needed here
|
2022-12-17 21:04:21 -06:00
|
|
|
|
|
2023-06-29 19:30:50 -05:00
|
|
|
help: consider introducing a higher-ranked lifetime here
|
2022-12-17 21:04:21 -06:00
|
|
|
|
|
2023-06-29 19:30:50 -05:00
|
|
|
LL | T: for<'a> WithType<&'a u32>
|
|
|
|
| +++++++ ++
|
2018-10-11 14:51:44 -05:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
2020-02-07 11:44:31 -06:00
|
|
|
For more information about this error, try `rustc --explain E0637`.
|