Sign in
fuchsia
/
third_party
/
rust
/
aeb32f01b674e383d240b3a173d6d9bc29c7a6ad
/
.
/
src
/
test
/
ui
/
error-codes
/
E0029-teach.rs
blob: 83058d397cf28e3aeacfd96d2ab56ad9efb0f521 [
file
] [
log
] [
blame
]
// compile-flags: -Z teach
fn
main
()
{
let
s
=
"hoho"
;
match
s
{
"hello"
..=
"world"
=>
{}
//~^ ERROR only char and numeric types are allowed in range patterns
_
=>
{}
}
}