unary op filter, dereference hint
This commit is contained in:
parent
2f6945c776
commit
56fbc63456
8 changed files with 132 additions and 79 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue