rust/tests/ui/lint/unused_parens_multibyte_recovery.rs
2024-02-16 20:02:50 +00:00

10 lines
357 B
Rust

// 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
//
// Verify that unused parens lint does not try to create a span
// which points in the middle of a multibyte character.
fn f(){(print!(á