This website requires JavaScript.
Explore
Help
Sign in
mathieu
/
granite-rust
Watch
1
Star
0
Fork
You've already forked granite-rust
0
Code
Issues
Pull requests
Projects
Releases
Packages
Wiki
Activity
6ecad33838
granite-rust
/
src
/
test
/
ui
/
cast
/
cast-as-bool.rs
5 lines
74 B
Rust
Raw
Normal View
History
Unescape
Escape
Improve typeck diagnostic messages Mostly by splitting error messages into proper pairs of errors and helps
2015-07-27 03:31:38 +03:00
fn
main
(
)
{
Changes to tests
2015-09-11 20:15:58 +12:00
let
u
=
5
as
bool
;
Improve typeck diagnostic messages Mostly by splitting error messages into proper pairs of errors and helps
2015-07-27 03:31:38 +03:00
//~^ ERROR cannot cast as `bool`
}
Reference in a new issue
Copy permalink