diff options
Diffstat (limited to 'src/test/run-pass/while-loop-constraints-2.rs')
| -rw-r--r-- | src/test/run-pass/while-loop-constraints-2.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/run-pass/while-loop-constraints-2.rs b/src/test/run-pass/while-loop-constraints-2.rs index 8ef98901e9f..622b66d22a1 100644 --- a/src/test/run-pass/while-loop-constraints-2.rs +++ b/src/test/run-pass/while-loop-constraints-2.rs @@ -8,8 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -#[allow(dead_assignment)]; -#[allow(unused_variable)]; +#![allow(dead_assignment)] +#![allow(unused_variable)] pub fn main() { let mut y: int = 42; |
