2022-12-27 15:15:25 -06:00
|
|
|
// aux-build:format-string-proc-macro.rs
|
2023-01-18 12:47:22 -06:00
|
|
|
// check-fail
|
|
|
|
// known-bug: #106191
|
|
|
|
// unset-rustc-env:RUST_BACKTRACE
|
|
|
|
// had to be reverted
|
|
|
|
// error-pattern:internal compiler error
|
|
|
|
// failure-status:101
|
|
|
|
// dont-check-compiler-stderr
|
2022-12-27 15:15:25 -06:00
|
|
|
|
|
|
|
extern crate format_string_proc_macro;
|
|
|
|
|
|
|
|
fn main() {
|
|
|
|
format_string_proc_macro::respan_to_invalid_format_literal!("¡");
|
|
|
|
format_args!(r#concat!("¡ {"));
|
|
|
|
}
|