Logo
Explore Help
Register Sign In
rust-lang/rust
1
0
Fork 0
You've already forked rust
Code Issues Pull Requests Actions 1 Packages Projects Releases Wiki Activity
Files
b3827e4f3728b77bd3e60587487ebfc3cc8d901b
rust/tests/ui/parser/raw/raw-str-delim.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

4 lines
122 B
Rust
Raw Normal View History

lex raw string literals, like r#"blah"# Raw string literals are lexed into regular string literals. This is okay for them to "work" and be usable/testable, but the pretty-printer does not know about them yet and will just emit regular string literals.
2013-10-02 02:43:19 +02:00
static s: &'static str =
Initial implementation of RFC 2151, Raw Identifiers
2018-03-09 23:56:40 -06:00
r#~"#"~# //~ ERROR found invalid character; only `#` is allowed in raw string delimitation
lex raw string literals, like r#"blah"# Raw string literals are lexed into regular string literals. This is okay for them to "work" and be usable/testable, but the pretty-printer does not know about them yet and will just emit regular string literals.
2013-10-02 02:43:19 +02:00
;
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 4782ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API