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