Skip to content

Commit

Permalink
Fix license statement
Browse files Browse the repository at this point in the history
  • Loading branch information
bossmc committed Jul 24, 2015
1 parent 4f58db4 commit 93dd75a
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions 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() {
Expand Down

0 comments on commit 93dd75a

Please sign in to comment.