diff options
Diffstat (limited to 'src/test/ui/feature-gates/feature-gate-lang-items.rs')
-rw-r--r-- | src/test/ui/feature-gates/feature-gate-lang-items.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/test/ui/feature-gates/feature-gate-lang-items.rs b/src/test/ui/feature-gates/feature-gate-lang-items.rs new file mode 100644 index 000000000..93262f217 --- /dev/null +++ b/src/test/ui/feature-gates/feature-gate-lang-items.rs @@ -0,0 +1,5 @@ +#[lang = "foo"] //~ ERROR language items are subject to change + //~^ ERROR definition of an unknown language item: `foo` +trait Foo {} + +fn main() {} |