Sign in
rust
/
rust-lang
/
rust
/
refs/heads/try
/
.
/
tests
/
ui
/
parser
/
ascii-only-character-escape.rs
blob: 725c8ad23515e615e6bf717487cf346806a920c8 [
file
] [
log
] [
blame
]
fn
main
()
{
let
x
=
"\x80"
;
//~ ERROR out of range hex escape
let
y
=
"\xff"
;
//~ ERROR out of range hex escape
let
z
=
"\xe2"
;
//~ ERROR out of range hex escape
let
a
=
b
"\x00e2"
;
// ok because byte literal
}