mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-08 21:13:55 +00:00
![Nilstrieb](/assets/img/avatar_default.png)
This reverts commit e6c02aad93
.
Keeps the code improvements from the PR and the test (as a known-bug).
10 lines
209 B
Rust
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}");
|
|
}
|