fork/rust

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

borsAuto merge of #67350 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum73528e339aa

1.40.0
640 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   |                      ^^^^^ associated type `F` not found
6
7error[E0191]: the value of the associated type `Bar` (from the trait `Trait`) must be specified
8  --> $DIR/E0220.rs:5:12
9   |
10LL |     type Bar;
11   |     --------- `Bar` defined here
12...
13LL | type Foo = dyn Trait<F=i32>;
14   |            ^^^^^^^^^^^^^^^^ associated type `Bar` must be specified
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`.