This website requires JavaScript.
Explore
Help
Register
Sign In
mikros
/
rust
Watch
1
Star
0
Fork
0
You've already forked rust
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
10b08e3c9c
rust
/
tests
/
ui
/
cast
/
issue-10991.rs
5 lines
106 B
Rust
Raw
Normal View
History
Unescape
Escape
Fix an ICE on a cast from an inferred nil to uint Fixes #10991.
2014-06-12 15:54:27 -05:00
fn
main
(
)
{
let
nil
=
(
)
;
wording improvement
2017-06-09 15:04:29 -05:00
let
_t
=
nil
as
usize
;
//~ ERROR: non-primitive cast: `()` as `usize`
Fix an ICE on a cast from an inferred nil to uint Fixes #10991.
2014-06-12 15:54:27 -05:00
}
Reference in New Issue
Copy Permalink