You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
warning: constant evaluation error: bad operands for binary. This will become a HARD ERROR in the future
--> <anon>:4:21
|
4 | const X: bool = 'A' == 'B';
| ^^^^^^^^^^
|
= note: #[warn(const_err)] on by default
but X appears to be correctly set to false.
The text was updated successfully, but these errors were encountered:
The following code
produces a warning (playground)
but
X
appears to be correctly set tofalse
.The text was updated successfully, but these errors were encountered: