fork/rust

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

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

master
950 B21 linesraw
1error[E0191]: the value of the associated type `Output` (from trait `Base`) must be specified
2  --> $DIR/with-self-in-projection-output-bad.rs:45:21
3   |
4LL |     type Output;
5   |     ----------- `Output` defined here
6...
7LL |     let _x: Box<dyn Helper<Target=i32>> = Box::new(2u32);
8   |                     ^^^^^^^^^^^^^^^^^^ help: specify the associated type: `Helper<Target=i32, Output = Type>`
9
10error[E0191]: the value of the associated type `Output` (from trait `Base`) must be specified
11  --> $DIR/with-self-in-projection-output-bad.rs:48:21
12   |
13LL |     type Output;
14   |     ----------- `Output` defined here
15...
16LL |     let _y: Box<dyn NormalizableHelper<Target=i32>> = Box::new(2u32);
17   |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: specify the associated type: `NormalizableHelper<Target=i32, Output = Type>`
18
19error: aborting due to 2 previous errors
20
21For more information about this error, try `rustc --explain E0191`.