fork/rust

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

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

master
1.1 KiB39 linesraw
1error[E0714]: marker traits cannot have associated items
2  --> $DIR/marker-trait-with-associated-items.rs:6:5
3   |
4LL |     const N: usize;
5   |     ^^^^^^^^^^^^^^
6
7error[E0714]: marker traits cannot have associated items
8  --> $DIR/marker-trait-with-associated-items.rs:12:5
9   |
10LL |     type Output;
11   |     ^^^^^^^^^^^
12
13error[E0714]: marker traits cannot have associated items
14  --> $DIR/marker-trait-with-associated-items.rs:18:5
15   |
16LL |     fn foo();
17   |     ^^^^^^^^^
18
19error[E0714]: marker traits cannot have associated items
20  --> $DIR/marker-trait-with-associated-items.rs:24:5
21   |
22LL |     const N: usize = 43;
23   |     ^^^^^^^^^^^^^^
24
25error[E0714]: marker traits cannot have associated items
26  --> $DIR/marker-trait-with-associated-items.rs:30:5
27   |
28LL |     type Output = ();
29   |     ^^^^^^^^^^^
30
31error[E0714]: marker traits cannot have associated items
32  --> $DIR/marker-trait-with-associated-items.rs:36:5
33   |
34LL |     fn foo() {}
35   |     ^^^^^^^^
36
37error: aborting due to 6 previous errors
38
39For more information about this error, try `rustc --explain E0714`.