]>
Commit | Line | Data |
---|---|---|
0bf4aa26 | 1 | error[E0715]: impls for marker traits cannot contain items |
0731742a | 2 | --> $DIR/override-item-on-marker-trait.rs:10:1 |
0bf4aa26 XL |
3 | | |
4 | LL | impl Marker for OverrideConst { | |
5 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
6 | ||
7 | error[E0715]: impls for marker traits cannot contain items | |
0731742a | 8 | --> $DIR/override-item-on-marker-trait.rs:16:1 |
0bf4aa26 XL |
9 | | |
10 | LL | impl Marker for OverrideFn { | |
11 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
12 | ||
13 | error: aborting due to 2 previous errors | |
14 | ||
15 | For more information about this error, try `rustc --explain E0715`. |