summaryrefslogtreecommitdiffstats
path: root/tests/ui/fmt/respanned-literal-issue-106191.rs
blob: 44642a10fc076d3c0dfd2bbee21ad09942ebb5b7 (plain)
1
2
3
4
5
6
7
8
9
10
// aux-build:format-string-proc-macro.rs

extern crate format_string_proc_macro;

fn main() {
    format_string_proc_macro::respan_to_invalid_format_literal!("¡");
    //~^ ERROR invalid format string: expected `'}'` but string was terminated
    format_args!(r#concat!("¡        {"));
    //~^ ERROR invalid format string: expected `'}'` but string was terminated
}