]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/raw/issue-70677-panic-on-unterminated-raw-str-at-eof.rs
Merge commit 'da5a6fb1b65ec6581a67e942a3850f6bc15a552c' into clippyup
[rust.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