about summary refs log tree commit diff
path: root/tests/ui/parser/raw/issue-70677-panic-on-unterminated-raw-str-at-eof.rs
blob: b7afb8fff81d1a9d9a54fd6d26eca56d65e6a75e (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" //~ ERROR unterminated raw string