rust/tests/ui/marker_trait_attr/override-item-on-marker-trait.stderr
2023-01-11 09:32:08 +00:00

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`.