]> git.lizzy.rs Git - rust.git/blob - src/test/ui/generic-associated-types/construct_with_other_type.stderr
Rollup merge of #67561 - euclio:remove-description, r=jonas-schievink
[rust.git] / src / test / ui / generic-associated-types / construct_with_other_type.stderr
1 error[E0271]: type mismatch resolving `for<'a> <<T as Baz>::Baa<'a> as std::ops::Deref>::Target == <<T as Baz>::Quux<'a> as Foo>::Bar<'a, 'static>`
2   --> $DIR/construct_with_other_type.rs:19:9
3    |
4 LL | impl<T> Baz for T where T: Foo {
5    |         ^^^ expected type parameter `T`, found associated type
6    |
7    = note: expected associated type `<T as Foo>::Bar<'_, 'static>`
8               found associated type `<<T as Baz>::Quux<'_> as Foo>::Bar<'_, 'static>`
9    = note: you might be missing a type parameter or trait bound
10
11 error: aborting due to previous error
12
13 For more information about this error, try `rustc --explain E0271`.