rust/tests/ui/marker_trait_attr/override-item-on-marker-trait.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
476 B
Plaintext
Raw Normal View History

error[E0715]: impls for marker traits cannot contain items
2018-12-25 09:56:47 -06:00
--> $DIR/override-item-on-marker-trait.rs:10:1
|
LL | impl Marker for OverrideConst {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error[E0715]: impls for marker traits cannot contain items
2018-12-25 09:56:47 -06:00
--> $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`.