fork/rust

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

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

master
572 B21 linesraw
1error[E0224]: at least one trait is required for an object type
2  --> $DIR/only-maybe-bound.rs:13:12
3   |
4LL | trait _1 = _0;
5   | -------- this alias does not contain a trait
6...
7LL | type _T0 = dyn _1;
8   |            ^^^^^^
9
10error[E0224]: at least one trait is required for an object type
11  --> $DIR/only-maybe-bound.rs:19:12
12   |
13LL | trait _2 = _1 + _1;
14   | -------- this alias does not contain a trait
15LL |
16LL | type _T1 = dyn _2;
17   |            ^^^^^^
18
19error: aborting due to 2 previous errors
20
21For more information about this error, try `rustc --explain E0224`.