about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2015-02-17 00:49:42 +0530
committerManish Goregaokar <manishsmail@gmail.com>2015-02-17 00:49:42 +0530
commit1fffdafe41a98df58521cccf81f952bde4f08092 (patch)
tree388063a8ebb223d7a707fe55969506dfd480a0f0 /src
parent0112f3b09834d8cc02489ec460c92dc2b25f4371 (diff)
downloadrust-1fffdafe41a98df58521cccf81f952bde4f08092.tar.gz
rust-1fffdafe41a98df58521cccf81f952bde4f08092.zip
fix linkage tests
Diffstat (limited to 'src')
-rw-r--r--src/test/compile-fail/linkage1.rs1
-rw-r--r--src/test/compile-fail/linkage4.rs2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/test/compile-fail/linkage1.rs b/src/test/compile-fail/linkage1.rs
index 555cc2b9a7a..35f93c13fb5 100644
--- a/src/test/compile-fail/linkage1.rs
+++ b/src/test/compile-fail/linkage1.rs
@@ -11,4 +11,5 @@
 extern {
     #[linkage = "extern_weak"] static foo: isize;
     //~^ ERROR: the `linkage` attribute is experimental and not portable
+    //~^^ ERROR: the `linkage` attribute is experimental and not portable
 }
diff --git a/src/test/compile-fail/linkage4.rs b/src/test/compile-fail/linkage4.rs
index 635d58e04c7..1cf6e90d6c8 100644
--- a/src/test/compile-fail/linkage4.rs
+++ b/src/test/compile-fail/linkage4.rs
@@ -10,6 +10,6 @@
 
 #[linkage = "external"]
 static foo: isize = 0;
-//~^ ERROR: the `linkage` attribute is experimental and not portable
+//~^^ ERROR: the `linkage` attribute is experimental and not portable
 
 fn main() {}