diff options
| author | Tommy Ip <hkmp7tommy@gmail.com> | 2017-12-10 19:14:01 +0000 |
|---|---|---|
| committer | Tommy Ip <hkmp7tommy@gmail.com> | 2017-12-10 21:14:57 +0000 |
| commit | 76d9b309aeee9615f3049e7bf95083bdee4ebe01 (patch) | |
| tree | 052c863f5d19582245b30dcc55f35ded0a02d11e /src/test/ui/span | |
| parent | 81b8db218006daaee11bb2c61aa7e3d7386b9fa9 (diff) | |
| download | rust-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.rs | 2 | ||||
| -rw-r--r-- | src/test/ui/span/multispan-import-lint.rs | 2 |
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}; |
