2023-06-26 13:36:37 -05:00
|
|
|
error: `impl Trait` can only mention lifetimes from an fn or impl
|
2022-05-27 04:02:11 -05:00
|
|
|
--> $DIR/universal_wrong_hrtb.rs:5:73
|
|
|
|
|
|
|
|
|
LL | fn test_argument_position(x: impl for<'a> Trait<'a, Assoc = impl Copy + 'a>) {}
|
2023-06-26 13:36:37 -05:00
|
|
|
| -- lifetime declared here ^^
|
2022-05-27 04:02:11 -05:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|