]> git.lizzy.rs Git - rust.git/commitdiff
Fix test
authorShotaro Yamada <sinkuu@sinkuu.xyz>
Wed, 7 Mar 2018 18:05:58 +0000 (03:05 +0900)
committerShotaro Yamada <sinkuu@sinkuu.xyz>
Wed, 7 Mar 2018 18:05:58 +0000 (03:05 +0900)
src/test/ui/codemap_tests/issue-28308.rs
src/test/ui/codemap_tests/issue-28308.stderr

index e3a4920d951fd5deb7ef79ad76d9da08ef4c5f5d..c71c28ed62520d23d1b80e2affdff5fc02d55d22 100644 (file)
@@ -10,4 +10,5 @@
 
 fn main() {
     assert!("foo");
+    //~^ ERROR cannot apply unary operator `!`
 }
index 947c8142e31fc1bb849a66c4bc562a8b178edf0a..d7f71fd12b3b8fec1b5b0adf8288e5378700f1f7 100644 (file)
@@ -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