rust/src/test/ui/parser/attr.rs
2019-01-13 14:17:19 +03:00

8 lines
204 B
Rust

#![feature(lang_items)]
fn main() {}
#![lang = "foo"] //~ ERROR an inner attribute is not permitted in this context
//~| ERROR definition of an unknown language item: `foo`
fn foo() {}