about summary refs log tree commit diff
path: root/src/test/pretty
diff options
context:
space:
mode:
authorSteven Fackler <sfackler@gmail.com>2014-09-24 20:22:57 -0700
committerSteven Fackler <sfackler@gmail.com>2014-09-27 22:59:26 -0700
commit9519abecfb727d71bd8209ffd94816b2cb87180f (patch)
treec287f36d9735cff0510c4aa8d0b33468714deb33 /src/test/pretty
parentdcdbdc10036b444ef39c329e9440d4acc6975fda (diff)
downloadrust-9519abecfb727d71bd8209ffd94816b2cb87180f.tar.gz
rust-9519abecfb727d71bd8209ffd94816b2cb87180f.zip
Convert cfg syntax to new system
This removes the ability to use `foo(bar)` style cfgs. Switch them to
`foo_bar` or `foo="bar"` instead.

[breaking-change]
Diffstat (limited to 'src/test/pretty')
-rw-r--r--src/test/pretty/raw-str-nonexpr.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/pretty/raw-str-nonexpr.rs b/src/test/pretty/raw-str-nonexpr.rs
index 08d599b1e6f..965b1760f1f 100644
--- a/src/test/pretty/raw-str-nonexpr.rs
+++ b/src/test/pretty/raw-str-nonexpr.rs
@@ -12,7 +12,7 @@
 
 #![feature(asm)]
 
-#[cfg = r#"just parse this"#]
+#[cfg(foo = r#"just parse this"#)]
 extern crate r##"blah"## as blah;
 
 fn main() { unsafe { asm!(r###"blah"###); } }