summaryrefslogtreecommitdiffstats
path: root/tests/ui/feature-gates/feature-gate-lang-items.rs
blob: 93262f2171bfe81358b0f8851dabae924ccbfe0e (plain)
1
2
3
4
5
#[lang = "foo"] //~ ERROR language items are subject to change
                //~^ ERROR definition of an unknown language item: `foo`
trait Foo {}

fn main() {}