]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-35570.stderr
Move `{core,std}::stream::Stream` to `{core,std}::async_iter::AsyncIterator`.
[rust.git] / src / test / ui / issues / issue-35570.stderr
1 error[E0277]: the trait bound `for<'a> (): Trait2<'a>` is not satisfied
2   --> $DIR/issue-35570.rs:8:4
3    |
4 LL | fn _ice(param: Box<dyn for <'a> Trait1<<() as Trait2<'a>>::Ty>>) {
5    |    ^^^^ the trait `for<'a> Trait2<'a>` is not implemented for `()`
6
7 error: aborting due to previous error
8
9 For more information about this error, try `rustc --explain E0277`.