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
c3ccaacc6c
rust
/
src
/
test
/
compile-fail
/
issue-3477.rs
4 lines
92 B
Rust
Raw
Normal View
History
Unescape
Escape
Emit a type error for integer literals where the expected type is char For example, in let x: char = 42; This was an ICE and is now a proper type error, as per #3477
2012-12-22 17:56:16 -06:00
fn
main
(
)
{
let
_p
:
char
=
100
;
//~ ERROR mismatched types: expected `char` but found
librustc: Replace `impl Type : Trait` with `impl Trait for Type`. rs=implflipping
2013-02-14 13:47:00 -06:00
}
Reference in New Issue
Copy Permalink