2022-10-30 14:10:35 -05:00
|
|
|
error: to use `strict_coherence` on this trait, the `with_negative_coherence` feature must be enabled
|
|
|
|
--> $DIR/strict-coherence-needs-negative-coherence.rs:4:1
|
|
|
|
|
|
|
|
|
LL | #[rustc_strict_coherence]
|
|
|
|
| ------------------------- due to this attribute
|
|
|
|
LL | trait Foo {}
|
|
|
|
| ^^^^^^^^^
|
|
|
|
|
2023-11-21 09:44:16 -06:00
|
|
|
error: aborting due to 1 previous error
|
2022-10-30 14:10:35 -05:00
|
|
|
|