]> git.proxmox.com Git - rustc.git/blob - src/test/ui/type-inference/unbounded-associated-type.stderr
New upstream version 1.41.1+dfsg1
[rustc.git] / src / test / ui / type-inference / unbounded-associated-type.stderr
1 error[E0282]: type annotations needed
2 --> $DIR/unbounded-associated-type.rs:15:5
3 |
4 LL | type A;
5 | ------- `<Self as T>::A` defined here
6 ...
7 LL | S(std::marker::PhantomData).foo();
8 | ^--------------------------------
9 | |
10 | this method call resolves to `<Self as T>::A`
11 | cannot infer type for type parameter `X`
12
13 error: aborting due to previous error
14
15 For more information about this error, try `rustc --explain E0282`.