]> git.lizzy.rs Git - rust.git/blob - tests/ui/marker_trait_attr/override-item-on-marker-trait.stderr
Rollup merge of #106323 - starkat99:stabilize-f16c_target_feature, r=petrochenkov
[rust.git] / tests / ui / marker_trait_attr / override-item-on-marker-trait.stderr
1 error[E0715]: impls for marker traits cannot contain items
2   --> $DIR/override-item-on-marker-trait.rs:10:1
3    |
4 LL | impl Marker for OverrideConst {
5    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6
7 error[E0715]: impls for marker traits cannot contain items
8   --> $DIR/override-item-on-marker-trait.rs:16:1
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`.