mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-24 07:44:10 +00:00
16 lines
476 B
Plaintext
16 lines
476 B
Plaintext
error[E0715]: impls for marker traits cannot contain items
|
|
--> $DIR/override-item-on-marker-trait.rs:10:1
|
|
|
|
|
LL | impl Marker for OverrideConst {
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error[E0715]: impls for marker traits cannot contain items
|
|
--> $DIR/override-item-on-marker-trait.rs:16:1
|
|
|
|
|
LL | impl Marker for OverrideFn {
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
For more information about this error, try `rustc --explain E0715`.
|