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
300901b70509a0af2d971aa6f6104300da24212c
rust
/
tests
/
ui
/
error-codes
/
E0308-4.rs
8 lines
108 B
Rust
Raw
Normal View
History
Unescape
Escape
Add new error code tests
2016-08-04 01:51:52 +02:00
fn
main
(
)
{
let
x
=
1
u8
;
match
x
{
migrate codebase to `..=` inclusive range patterns These were stabilized in March 2018's #47813, and are the Preferred Way to Do It going forward (q.v. #51043).
2018-05-28 19:42:11 -07:00
0
u8
..=
3
i8
=
>
(
)
,
//~ ERROR E0308
Add new error code tests
2016-08-04 01:51:52 +02:00
_
=
>
(
)
}
}
Reference in New Issue
Copy Permalink