/src/test/compile-fail/use-meta-dup.rs

http://github.com/jruderman/rust · Rust · 5 lines · 2 code · 2 blank · 1 comment · 0 complexity · 610e005b8a7c57c826e7d1d04dce8f82 MD5 · raw file

  1. // error-pattern:duplicate meta item `name`
  2. use std(name = "std", name = "nonstd");
  3. fn main() { }