]> git.proxmox.com Git - rustc.git/blob - src/test/ui/error-codes/E0220.stderr
New upstream version 1.67.1+dfsg1
[rustc.git] / src / test / ui / error-codes / E0220.stderr
1 error[E0220]: associated type `F` not found for `Trait`
2 --> $DIR/E0220.rs:5:22
3 |
4 LL | type Foo = dyn Trait<F=i32>;
5 | ^ associated type `F` not found
6
7 error[E0191]: the value of the associated type `Bar` (from trait `Trait`) must be specified
8 --> $DIR/E0220.rs:5:16
9 |
10 LL | type Bar;
11 | -------- `Bar` defined here
12 ...
13 LL | type Foo = dyn Trait<F=i32>;
14 | ^^^^^^^^^^^^ help: specify the associated type: `Trait<F=i32, Bar = Type>`
15
16 error: aborting due to 2 previous errors
17
18 Some errors have detailed explanations: E0191, E0220.
19 For more information about an error, try `rustc --explain E0191`.