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
ccb5b6fb25
rust
/
src
/
test
/
compile-fail
/
oversized-literal.rs
4 lines
83 B
Rust
Raw
Normal View
History
Unescape
Escape
Check for literals that are out of range for their type
2011-12-07 14:53:05 -06:00
// error-pattern:literal out of range
Register snapshots and switch logging over to use of log_full or #error / #debug.
2011-12-22 16:42:52 -06:00
fn
main
(
)
{
log_full
(
core
::
debug
,
300
u8
)
;
}
Reference in New Issue
Copy Permalink