This website requires JavaScript.
Explore
Help
Register
Sign In
rust-lang
/
rust
Watch
1
Star
0
Fork
0
You've already forked rust
Code
Issues
Pull Requests
Actions
2
Packages
Projects
Releases
Wiki
Activity
Files
51b51b51d7931da85280382a81c4dd80c73ca754
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 16:11:56 -07:00
fn
main
(
)
{
Replace illegal with invalid in most diagnostics
2015-07-27 03:49:38 +03: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 16:11:56 -07:00
}
Reference in New Issue
Copy Permalink