This website requires JavaScript.
Explore
Help
Sign in
bjoernager
/
rust
Watch
1
Fork
You've already forked rust
0
Code
Activity
a439eb259d
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
_
=
>
(
)
}
}
Copy permalink