/src/test/compile-fail/attr-dangling-in-mod.rs

http://github.com/jruderman/rust · Rust · 6 lines · 3 code · 2 blank · 1 comment · 0 complexity · e3a1cb08d08f613a36020989775a3389 MD5 · raw file

  1. // error-pattern:expected item
  2. fn main() {
  3. }
  4. #[foo = "bar"]