]> git.proxmox.com Git - rustc.git/blob - src/test/ui/parser/raw/issue-70677-panic-on-unterminated-raw-str-at-eof.rs
New upstream version 1.44.1+dfsg1
[rustc.git] / src / test / ui / parser / raw / issue-70677-panic-on-unterminated-raw-str-at-eof.rs
1 // This won't actually panic because of the error comment -- the `"` needs to be
2 // the last byte in the file (including not having a trailing newline)
3 // Prior to the fix you get the error: 'expected item, found `r" ...`'
4 // because the string being unterminated wasn't properly detected.
5 r" //~ unterminated raw string