summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/raw/issue-70677-panic-on-unterminated-raw-str-at-eof.rs
blob: bdfc29a3d57abfe01225a2ca0c99bd06f3ae84e2 (plain)
1
2
3
4
5
// This won't actually panic because of the error comment -- the `"` needs to be
// the last byte in the file (including not having a trailing newline)
// Prior to the fix you get the error: 'expected item, found `r" ...`'
// because the string being unterminated wasn't properly detected.
r" //~ unterminated raw string