mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-02 07:22:42 +00:00
40 lines
1.1 KiB
Plaintext
40 lines
1.1 KiB
Plaintext
error[E0714]: marker traits cannot have associated items
|
|
--> $DIR/marker-trait-with-associated-items.rs:6:5
|
|
|
|
|
LL | const N: usize;
|
|
| ^^^^^^^^^^^^^^
|
|
|
|
error[E0714]: marker traits cannot have associated items
|
|
--> $DIR/marker-trait-with-associated-items.rs:12:5
|
|
|
|
|
LL | type Output;
|
|
| ^^^^^^^^^^^
|
|
|
|
error[E0714]: marker traits cannot have associated items
|
|
--> $DIR/marker-trait-with-associated-items.rs:18:5
|
|
|
|
|
LL | fn foo();
|
|
| ^^^^^^^^^
|
|
|
|
error[E0714]: marker traits cannot have associated items
|
|
--> $DIR/marker-trait-with-associated-items.rs:24:5
|
|
|
|
|
LL | const N: usize = 43;
|
|
| ^^^^^^^^^^^^^^
|
|
|
|
error[E0714]: marker traits cannot have associated items
|
|
--> $DIR/marker-trait-with-associated-items.rs:30:5
|
|
|
|
|
LL | type Output = ();
|
|
| ^^^^^^^^^^^
|
|
|
|
error[E0714]: marker traits cannot have associated items
|
|
--> $DIR/marker-trait-with-associated-items.rs:36:5
|
|
|
|
|
LL | fn foo() {}
|
|
| ^^^^^^^^
|
|
|
|
error: aborting due to 6 previous errors
|
|
|
|
For more information about this error, try `rustc --explain E0714`.
|