Error code E0600
An unary operator was used on a type which doesn't implement it.
Erroneous code example:
ⓘ
In this case, Question
would need to implement the std::ops::Not
trait in
order to be able to use !
on it. Let's implement it:
An unary operator was used on a type which doesn't implement it.
Erroneous code example:
ⓘ
In this case, Question
would need to implement the std::ops::Not
trait in
order to be able to use !
on it. Let's implement it: