a8086cf9df
This reverts commit e6c02aad93
.
Keeps the code improvements from the PR and the test (as a known-bug).
16 lines
396 B
Rust
16 lines
396 B
Rust
// aux-build:format-string-proc-macro.rs
|
|
// 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
|
|
|
|
extern crate format_string_proc_macro;
|
|
|
|
fn main() {
|
|
format_string_proc_macro::respan_to_invalid_format_literal!("¡");
|
|
format_args!(r#concat!("¡ {"));
|
|
}
|