]> git.lizzy.rs Git - rust.git/blob - tests/ui/lint/unused_parens_multibyte_recovery.rs
Auto merge of #106884 - clubby789:fieldless-enum-debug, r=michaelwoerister
[rust.git] / tests / ui / lint / unused_parens_multibyte_recovery.rs
1 // ignore-tidy-trailing-newlines
2 //
3 // error-pattern: this file contains an unclosed delimiter
4 // error-pattern: this file contains an unclosed delimiter
5 // error-pattern: this file contains an unclosed delimiter
6 // error-pattern: format argument must be a string literal
7 //
8 // Verify that unused parens lint does not try to create a span
9 // which points in the middle of a multibyte character.
10
11 fn f(){(print!(รก