about summary refs log tree commit diff
path: root/src/etc/combine-tests.py
diff options
context:
space:
mode:
authorTimothée Ravier <tim@siosm.fr>2014-04-04 02:55:06 +0200
committerAlex Crichton <alex@alexcrichton.com>2014-04-04 13:22:57 -0700
commit73b0186290d41e228e61b343c4b4a90570b580e9 (patch)
treed46a9e775bc4ca657c6f547bcd7dd1436ae45d9a /src/etc/combine-tests.py
parentba9c51d20fe258f385d3a3334613955c8ce20af0 (diff)
downloadrust-73b0186290d41e228e61b343c4b4a90570b580e9.tar.gz
rust-73b0186290d41e228e61b343c4b4a90570b580e9.zip
Fix inner attribute syntax from `#[foo];` to `#![foo]`
From the 0.10 changelog:
 * The inner attribute syntax has changed from `#[foo];` to `#![foo]`.
Diffstat (limited to 'src/etc/combine-tests.py')
-rwxr-xr-xsrc/etc/combine-tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/etc/combine-tests.py b/src/etc/combine-tests.py
index a7f23405de5..68423b416f6 100755
--- a/src/etc/combine-tests.py
+++ b/src/etc/combine-tests.py
@@ -54,7 +54,7 @@ c.write(
 #[crate_id=\"run_pass_stage2#0.1\"];
 #[crate_id=\"run_pass_stage2#0.1\"];
 #[feature(globs, macro_rules, struct_variant, managed_boxes)];
-#[allow(warnings)];
+#![allow(warnings)]
 extern crate collections;
 """
 )