rust/tests/ui/feature-gates/feature-gate-lang-items.rs
2023-01-11 09:32:08 +00:00

6 lines
163 B
Rust

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