]> git.proxmox.com Git - rustc.git/blame - src/test/ui/associated-types/associated-types-eq-1.stderr
New upstream version 1.46.0~beta.2+dfsg1
[rustc.git] / src / test / ui / associated-types / associated-types-eq-1.stderr
CommitLineData
b7449926 1error[E0412]: cannot find type `A` in this scope
0731742a 2 --> $DIR/associated-types-eq-1.rs:10:12
b7449926 3 |
e74abb32
XL
4LL | fn foo2<I: Foo>(x: I) {
5 | - similarly named type parameter `I` defined here
532ac7d7 6LL | let _: A = x.boo();
f035d41b
XL
7 | ^
8 |
9help: a type parameter with a similar name exists
10 |
11LL | let _: I = x.boo();
12 | ^
13help: you might be missing a type parameter
14 |
15LL | fn foo2<I: Foo, A>(x: I) {
16 | ^^^
b7449926
XL
17
18error: aborting due to previous error
19
20For more information about this error, try `rustc --explain E0412`.