diff options
Diffstat (limited to 'src/test/ui/macros/macro-tt-matchers.rs')
| -rw-r--r-- | src/test/ui/macros/macro-tt-matchers.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/ui/macros/macro-tt-matchers.rs b/src/test/ui/macros/macro-tt-matchers.rs index 7255e7d00b6..90ac95d54d7 100644 --- a/src/test/ui/macros/macro-tt-matchers.rs +++ b/src/test/ui/macros/macro-tt-matchers.rs @@ -8,7 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -#![feature(rustc_attrs)] +// compile-pass #![allow(dead_code)] macro_rules! foo { @@ -17,5 +17,5 @@ macro_rules! foo { foo!(Box); -#[rustc_error] -fn main() {} //~ ERROR compilation successful + +fn main() {} |
