rust/tests/ui/feature-gates/feature-gate-lang-items.rs

6 lines
155 B
Rust

#[lang = "foo"] //~ ERROR lang items are subject to change
//~^ ERROR definition of an unknown lang item: `foo`
trait Foo {}
fn main() {}