summary refs log tree commit diff
path: root/src/test/ui/issues/issue-35570.stderr
blob: dda6145e65adaf17bebb523a07a1c967ee5bb109 (plain)
1
2
3
4
5
6
7
8
9
error[E0277]: the trait bound `for<'a> (): Trait2<'a>` is not satisfied
  --> $DIR/issue-35570.rs:8:4
   |
LL | fn _ice(param: Box<dyn for <'a> Trait1<<() as Trait2<'a>>::Ty>>) {
   |    ^^^^ the trait `for<'a> Trait2<'a>` is not implemented for `()`

error: aborting due to previous error

For more information about this error, try `rustc --explain E0277`.