rust/tests/ui/fmt/indoc-issue-106408.rs
Nilstrieb a8086cf9df Revert "Improve heuristics whether format_args string is a source literal"
This reverts commit e6c02aad93.

Keeps the code improvements from the PR and the test (as a known-bug).
2023-01-18 20:33:17 +01:00

10 lines
209 B
Rust

// aux-build:format-string-proc-macro.rs
// check-pass
extern crate format_string_proc_macro;
fn main() {
let a = 0;
format_string_proc_macro::capture_a_with_prepended_space_preserve_span!("{a}");
}