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-inherent-impl-ampersand-rust2018.rs:14: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
|
|
|
|
2023-11-21 09:44:16 -06:00
|
|
|
error: aborting due to 1 previous error
|
2018-10-11 14:51:44 -05:00
|
|
|
|
2020-02-07 11:44:31 -06:00
|
|
|
For more information about this error, try `rustc --explain E0637`.
|