mirror of
https://github.com/rust-lang/rust
synced 2024-11-05 20:45:15 +00:00
15 lines
476 B
Text
15 lines
476 B
Text
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`.
|