2024-04-03 16:27:13 -05:00
|
|
|
error[E0277]: the trait bound `for<'a> T: Trait<'a, '_>` is not satisfied
|
2024-07-10 07:13:16 -05:00
|
|
|
--> $DIR/candidate-from-env-universe-err-2.rs:15:5
|
2024-04-03 16:27:13 -05:00
|
|
|
|
|
|
|
|
LL | impl_hr::<T>();
|
|
|
|
| ^^^^^^^^^^^^^^ the trait `for<'a> Trait<'a, '_>` is not implemented for `T`
|
|
|
|
|
|
|
|
|
note: required by a bound in `impl_hr`
|
2024-07-10 07:13:16 -05:00
|
|
|
--> $DIR/candidate-from-env-universe-err-2.rs:12:19
|
2024-04-03 16:27:13 -05:00
|
|
|
|
|
|
|
|
LL | fn impl_hr<'b, T: for<'a> Trait<'a, 'b>>() {}
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `impl_hr`
|
|
|
|
|
|
|
|
error: aborting due to 1 previous error
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0277`.
|