diff options
| author | Shotaro Yamada <sinkuu@sinkuu.xyz> | 2018-03-08 03:05:58 +0900 |
|---|---|---|
| committer | Shotaro Yamada <sinkuu@sinkuu.xyz> | 2018-03-08 03:05:58 +0900 |
| commit | cb5be1bb4ce8bdf3cfac5910f11966c7d3b4fcd4 (patch) | |
| tree | 57eadefa1cb435994ecfd0d1330a5d9e30ffc58e | |
| parent | 517083fbad1cab6652efe66f36ed7f085eb67b61 (diff) | |
| download | rust-cb5be1bb4ce8bdf3cfac5910f11966c7d3b4fcd4.tar.gz rust-cb5be1bb4ce8bdf3cfac5910f11966c7d3b4fcd4.zip | |
Fix test
| -rw-r--r-- | src/test/ui/codemap_tests/issue-28308.rs | 1 | ||||
| -rw-r--r-- | src/test/ui/codemap_tests/issue-28308.stderr | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/src/test/ui/codemap_tests/issue-28308.rs b/src/test/ui/codemap_tests/issue-28308.rs index e3a4920d951..c71c28ed625 100644 --- a/src/test/ui/codemap_tests/issue-28308.rs +++ b/src/test/ui/codemap_tests/issue-28308.rs @@ -10,4 +10,5 @@ fn main() { assert!("foo"); + //~^ ERROR cannot apply unary operator `!` } diff --git a/src/test/ui/codemap_tests/issue-28308.stderr b/src/test/ui/codemap_tests/issue-28308.stderr index 947c8142e31..d7f71fd12b3 100644 --- a/src/test/ui/codemap_tests/issue-28308.stderr +++ b/src/test/ui/codemap_tests/issue-28308.stderr @@ -3,8 +3,6 @@ error[E0600]: cannot apply unary operator `!` to type `&'static str` | LL | assert!("foo"); | ^^^^^^^^^^^^^^^ - | - = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) error: aborting due to previous error |
