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
/
new-unicode-escapes-4.rs
5 lines
98 B
Rust
Raw
Normal View
History
Unescape
Escape
syntax: support ES6-style unicode escapes First half of bootstrapping https://github.com/rust-lang/rfcs/pull/446
2014-12-02 16:48:48 -08:00
pub
fn
main
(
)
{
Prevent ICEs when parsing invalid escapes, closes #23620
2015-03-26 09:38:25 +01:00
let
s
=
"
\
u{lol}
"
;
Handle `Span`s for byte and raw strings and add more detail
2021-01-23 12:48:31 -08:00
//~^ ERROR invalid character in unicode escape: `l`
syntax: support ES6-style unicode escapes First half of bootstrapping https://github.com/rust-lang/rfcs/pull/446
2014-12-02 16:48:48 -08:00
}
Reference in New Issue
Copy Permalink