diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/test/compile-fail/invalid-macro-matcher.rs | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/src/test/compile-fail/invalid-macro-matcher.rs b/src/test/compile-fail/invalid-macro-matcher.rs index 568bac1d89d..302bf34ff99 100644 --- a/src/test/compile-fail/invalid-macro-matcher.rs +++ b/src/test/compile-fail/invalid-macro-matcher.rs @@ -1,5 +1,15 @@ -macro_rules! invalid { //~ ERROR Invalid macro matcher - _ => (); +// Copyright 2015 The Rust Project Developers. See the COPYRIGHT +// file at the top-level directory of this distribution and at +// http://rust-lang.org/COPYRIGHT. +// +// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or +// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license +// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + +macro_rules! invalid { + _ => (); //~^ ERROR Invalid macro matcher } fn main() { |
