2022-08-17 12:22:32 +02:00
|
|
|
error[E0277]: the trait bound `for<'a> (): Trait2<'a>` is not satisfied
|
2023-01-08 03:14:27 +00:00
|
|
|
--> $DIR/issue-35570.rs:8:40
|
2021-05-03 09:25:32 -04:00
|
|
|
|
|
|
|
|
LL | fn _ice(param: Box<dyn for <'a> Trait1<<() as Trait2<'a>>::Ty>>) {
|
2023-01-08 03:14:27 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^ the trait `for<'a> Trait2<'a>` is not implemented for `()`
|
2021-05-03 09:25:32 -04:00
|
|
|
|
2023-06-27 23:13:50 +02:00
|
|
|
error: aborting due to previous error
|
2021-05-03 09:25:32 -04:00
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0277`.
|