]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/minus-string.stderr
New upstream version 1.43.0+dfsg1
[rustc.git] / src / test / ui / minus-string.stderr
index 9177082cf0b7d09d7a7e60afb3b2c9b228098052..3fbec7c89c9a2a96a78d9c2331feac6fe1cf5437 100644 (file)
@@ -3,8 +3,6 @@ error[E0600]: cannot apply unary operator `-` to type `std::string::String`
    |
 LL | fn main() { -"foo".to_string(); }
    |             ^^^^^^^^^^^^^^^^^^ cannot apply unary operator `-`
-   |
-   = note: an implementation of `std::ops::Neg` might be missing for `std::string::String`
 
 error: aborting due to previous error