rust/tests/ui/parser/raw/issue-70677-panic-on-unterminated-raw-str-at-eof.rs
2023-01-11 09:32:08 +00:00

6 lines
321 B
XML

// 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