diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2014-04-14 21:00:31 +0530 |
|---|---|---|
| committer | Manish Goregaokar <manishsmail@gmail.com> | 2014-04-14 21:00:31 +0530 |
| commit | 713e87526eac42aa9879e7cfb556ea64d63e7a91 (patch) | |
| tree | c94084ee13a07e5dfa52827517629143571f6bf8 /src/test/run-pass/while-loop-constraints-2.rs | |
| parent | e2e754810c78a25c902b76c74ba8f04d0dcdc6f1 (diff) | |
| download | rust-713e87526eac42aa9879e7cfb556ea64d63e7a91.tar.gz rust-713e87526eac42aa9879e7cfb556ea64d63e7a91.zip | |
Use new attribute syntax in python files in src/etc too (#13478)
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; |
