]> git.lizzy.rs Git - rust.git/blob - tests/ui/fmt/respanned-literal-issue-106191.rs
bb741c0ef93fa8bf0d523f610c767200256fdece
[rust.git] / tests / ui / fmt / respanned-literal-issue-106191.rs
1 // aux-build:format-string-proc-macro.rs
2 // check-fail
3 // known-bug: #106191
4 // unset-rustc-env:RUST_BACKTRACE
5 // had to be reverted
6 // error-pattern:internal compiler error
7 // failure-status:101
8 // dont-check-compiler-stderr
9
10 extern crate format_string_proc_macro;
11
12 fn main() {
13     format_string_proc_macro::respan_to_invalid_format_literal!("¡");
14     format_args!(r#concat!("¡        {"));
15 }