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
error[E0054]: cannot cast as `bool`
--> src/test/compile-fail/E0054.rs:13:24
|
13 | let x_is_nonzero = x as bool; //~ ERROR E0054
| ^^^^^^^^^
|
= help: compare with zero instead
To:
error[E0054]: cannot cast as `bool`
--> src/test/compile-fail/E0054.rs:13:24
|
13 | let x_is_nonzero = x as bool; //~ ERROR E0054
| ^^^^^^^^^ unsupported cast
|
= help: compare with zero instead
The text was updated successfully, but these errors were encountered:
From: src/test/compile-fail/E0054.rs
E0054 needs a span_label, updating it from:
To:
The text was updated successfully, but these errors were encountered: