fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
678 B19 linesraw
1error[E0220]: associated type `F` not found for `Trait`
2  --> $DIR/E0220.rs:5:22
3   |
4LL | type Foo = dyn Trait<F=i32>;
5   |                      ^ help: `Trait` has the following associated type: `Bar`
6
7error[E0191]: the value of the associated type `Bar` (from trait `Trait`) must be specified
8  --> $DIR/E0220.rs:5:16
9   |
10LL |     type Bar;
11   |     -------- `Bar` defined here
12...
13LL | type Foo = dyn Trait<F=i32>;
14   |                ^^^^^^^^^^^^ help: specify the associated type: `Trait<F=i32, Bar = Type>`
15
16error: aborting due to 2 previous errors
17
18Some errors have detailed explanations: E0191, E0220.
19For more information about an error, try `rustc --explain E0191`.