summaryrefslogtreecommitdiffstats
path: root/tests/ui/lint/unused_parens_multibyte_recovery.rs
blob: 8fcfae22a3d3385e31d9e7ed9f62b48c41dc4930 (plain)
1
2
3
4
5
6
7
8
9
10
11
// ignore-tidy-trailing-newlines
//
// error-pattern: this file contains an unclosed delimiter
// error-pattern: this file contains an unclosed delimiter
// error-pattern: this file contains an unclosed delimiter
// error-pattern: format argument must be a string literal
//
// Verify that unused parens lint does not try to create a span
// which points in the middle of a multibyte character.

fn f(){(print!(á