]> git.lizzy.rs Git - rust.git/blob - src/test/ui/lint/unused_parens_multibyte_recovery.rs
Auto merge of #106349 - LeSeulArtichaut:dyn-star-tracking-issue, r=jackh726
[rust.git] / src / test / 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!(รก