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
a20078f044
rust
/
tests
/
ui
/
parser
/
old-suffixes-are-really-forbidden.rs
5 lines
100 B
Rust
Raw
Normal View
History
Unescape
Escape
Forbid is/us suffixes. Fixes #22496 It was an oversight that this was not done in the great int upheaval. [breaking-change]
2015-04-15 18:11:56 -05:00
fn
main
(
)
{
Replace illegal with invalid in most diagnostics
2015-07-26 19:49:38 -05:00
let
a
=
1_
is
;
//~ ERROR invalid suffix
let
b
=
2_
us
;
//~ ERROR invalid suffix
Forbid is/us suffixes. Fixes #22496 It was an oversight that this was not done in the great int upheaval. [breaking-change]
2015-04-15 18:11:56 -05:00
}
Reference in New Issue
Copy Permalink