about summary refs log tree commit diff
path: root/src/test/ui/span
diff options
context:
space:
mode:
authorTommy Ip <hkmp7tommy@gmail.com>2017-12-10 19:14:01 +0000
committerTommy Ip <hkmp7tommy@gmail.com>2017-12-10 21:14:57 +0000
commit76d9b309aeee9615f3049e7bf95083bdee4ebe01 (patch)
tree052c863f5d19582245b30dcc55f35ded0a02d11e /src/test/ui/span
parent81b8db218006daaee11bb2c61aa7e3d7386b9fa9 (diff)
downloadrust-76d9b309aeee9615f3049e7bf95083bdee4ebe01.tar.gz
rust-76d9b309aeee9615f3049e7bf95083bdee4ebe01.zip
Add must-compile-successfully comment to appropriate ui tests.
Diffstat (limited to 'src/test/ui/span')
-rw-r--r--src/test/ui/span/macro-span-replacement.rs2
-rw-r--r--src/test/ui/span/multispan-import-lint.rs2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/test/ui/span/macro-span-replacement.rs b/src/test/ui/span/macro-span-replacement.rs
index 71f37f6555e..0baa4fb4fe2 100644
--- a/src/test/ui/span/macro-span-replacement.rs
+++ b/src/test/ui/span/macro-span-replacement.rs
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// must-compile-successfully
+
 #![warn(unused)]
 
 macro_rules! m {
diff --git a/src/test/ui/span/multispan-import-lint.rs b/src/test/ui/span/multispan-import-lint.rs
index c3582b0a0c5..5fb0ff7fb70 100644
--- a/src/test/ui/span/multispan-import-lint.rs
+++ b/src/test/ui/span/multispan-import-lint.rs
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// must-compile-successfully
+
 #![warn(unused)]
 
 use std::cmp::{Eq, Ord, min, PartialEq, PartialOrd};