]> git.lizzy.rs Git - rust.git/blob - src/test/ui/cast/cast-rfc0401-2.stderr
Auto merge of #97191 - wesleywiser:main_thread_name, r=ChrisDenton
[rust.git] / src / test / ui / cast / cast-rfc0401-2.stderr
1 error[E0054]: cannot cast as `bool`
2   --> $DIR/cast-rfc0401-2.rs:6:13
3    |
4 LL |     let _ = 3 as bool;
5    |             ^^^^^^^^^ help: compare with zero instead: `3 != 0`
6
7 error: aborting due to previous error
8
9 For more information about this error, try `rustc --explain E0054`.