mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-18 19:43:43 +00:00
41e8d152dc
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
11 lines
326 B
Plaintext
11 lines
326 B
Plaintext
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 {}
|
|
| ^^^^^^^^^
|
|
|
|
error: aborting due to 1 previous error
|
|
|