diff options
| author | Andy Caldwell <andrew.caldwell@metaswitch.com> | 2015-07-24 01:39:47 +0000 |
|---|---|---|
| committer | Andy Caldwell <andrew.caldwell@metaswitch.com> | 2015-07-24 01:39:47 +0000 |
| commit | 93dd75a5096c615bfdbc4502deafce2ee606b00e (patch) | |
| tree | cb9c0a2a1acc7048f3ce3d942ca1ec96d6866fdc /src | |
| parent | 4f58db485d82a8d4d4f03f9584ba6de347f704a5 (diff) | |
| download | rust-93dd75a5096c615bfdbc4502deafce2ee606b00e.tar.gz rust-93dd75a5096c615bfdbc4502deafce2ee606b00e.zip | |
Fix license statement
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() { |
