2018-09-03 09:17:20 +00:00
|
|
|
error[E0714]: marker traits cannot have associated items
|
2018-12-25 15:56:47 +00:00
|
|
|
--> $DIR/marker-trait-with-associated-items.rs:6:5
|
2018-09-03 08:36:01 +00:00
|
|
|
|
|
|
|
|
LL | const N: usize;
|
2022-02-13 15:27:59 +00:00
|
|
|
| ^^^^^^^^^^^^^^
|
2018-09-03 08:36:01 +00:00
|
|
|
|
2018-09-03 09:17:20 +00:00
|
|
|
error[E0714]: marker traits cannot have associated items
|
2018-12-25 15:56:47 +00:00
|
|
|
--> $DIR/marker-trait-with-associated-items.rs:12:5
|
2018-09-03 08:36:01 +00:00
|
|
|
|
|
|
|
|
LL | type Output;
|
2022-02-13 15:27:59 +00:00
|
|
|
| ^^^^^^^^^^^
|
2018-09-03 08:36:01 +00:00
|
|
|
|
2018-09-03 09:17:20 +00:00
|
|
|
error[E0714]: marker traits cannot have associated items
|
2018-12-25 15:56:47 +00:00
|
|
|
--> $DIR/marker-trait-with-associated-items.rs:18:5
|
2018-09-03 08:36:01 +00:00
|
|
|
|
|
|
|
|
LL | fn foo();
|
|
|
|
| ^^^^^^^^^
|
|
|
|
|
2018-09-03 09:17:20 +00:00
|
|
|
error[E0714]: marker traits cannot have associated items
|
2018-12-25 15:56:47 +00:00
|
|
|
--> $DIR/marker-trait-with-associated-items.rs:24:5
|
2018-09-03 08:36:01 +00:00
|
|
|
|
|
|
|
|
LL | const N: usize = 43;
|
2022-02-13 15:27:59 +00:00
|
|
|
| ^^^^^^^^^^^^^^
|
2018-09-03 08:36:01 +00:00
|
|
|
|
2018-09-03 09:17:20 +00:00
|
|
|
error[E0714]: marker traits cannot have associated items
|
2018-12-25 15:56:47 +00:00
|
|
|
--> $DIR/marker-trait-with-associated-items.rs:30:5
|
2018-09-03 08:36:01 +00:00
|
|
|
|
|
|
|
|
LL | type Output = ();
|
2022-02-13 15:27:59 +00:00
|
|
|
| ^^^^^^^^^^^
|
2018-09-03 08:36:01 +00:00
|
|
|
|
2018-09-03 09:17:20 +00:00
|
|
|
error[E0714]: marker traits cannot have associated items
|
2018-12-25 15:56:47 +00:00
|
|
|
--> $DIR/marker-trait-with-associated-items.rs:36:5
|
2018-09-03 08:36:01 +00:00
|
|
|
|
|
|
|
|
LL | fn foo() {}
|
2020-08-12 21:02:14 +00:00
|
|
|
| ^^^^^^^^
|
2018-09-03 08:36:01 +00:00
|
|
|
|
|
|
|
error: aborting due to 6 previous errors
|
|
|
|
|
2018-09-03 09:17:20 +00:00
|
|
|
For more information about this error, try `rustc --explain E0714`.
|