mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 00:34:06 +00:00
8 lines
185 B
Rust
8 lines
185 B
Rust
|
#![feature(rustc_attrs)]
|
||
|
|
||
|
#[rustc_strict_coherence]
|
||
|
trait Foo {}
|
||
|
//~^ ERROR to use `strict_coherence` on this trait, the `with_negative_coherence` feature must be enabled
|
||
|
|
||
|
fn main() {}
|