]> git.lizzy.rs Git - rust.git/commitdiff
Fix license statement
authorAndy Caldwell <andrew.caldwell@metaswitch.com>
Fri, 24 Jul 2015 01:39:47 +0000 (01:39 +0000)
committerAndy Caldwell <andrew.caldwell@metaswitch.com>
Fri, 24 Jul 2015 01:39:47 +0000 (01:39 +0000)
src/test/compile-fail/invalid-macro-matcher.rs

index 568bac1d89d7114d110bad9e647ca245bcc54a88..302bf34ff99165055871ef7a95849499ccb1dc92 100644 (file)
@@ -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() {