summary refs log tree commit diff
path: root/src/test/ui/error-codes
diff options
context:
space:
mode:
authorRoman Stoliar <rizakrko@rambler.ru>2018-05-08 22:20:41 +0300
committerRoman Stoliar <rizakrko@rambler.ru>2018-05-11 15:12:53 +0300
commit56fbc63456d204c32e53e82c2277445d31ce983d (patch)
tree2426a63f99815b88c249d594dc11955a6e6c97f7 /src/test/ui/error-codes
parent2f6945c77664eb0575de6f016f24c9f6ced1923f (diff)
downloadrust-56fbc63456d204c32e53e82c2277445d31ce983d.tar.gz
rust-56fbc63456d204c32e53e82c2277445d31ce983d.zip
unary op filter, dereference hint
Diffstat (limited to 'src/test/ui/error-codes')
-rw-r--r--src/test/ui/error-codes/E0600.stderr4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/test/ui/error-codes/E0600.stderr b/src/test/ui/error-codes/E0600.stderr
index bd79ea79c8b..c29ec4fe6ae 100644
--- a/src/test/ui/error-codes/E0600.stderr
+++ b/src/test/ui/error-codes/E0600.stderr
@@ -2,9 +2,7 @@ error[E0600]: cannot apply unary operator `!` to type `&'static str`
   --> $DIR/E0600.rs:12:5
    |
 LL |     !"a"; //~ ERROR E0600
-   |     ^^^^
-   |
-   = note: an implementation of `std::ops::Not` might be missing for `&'static str`
+   |     ^^^^ cannot apply unary operator `!`
 
 error: aborting due to previous error