mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 23:34:48 +00:00
11 lines
361 B
Rust
11 lines
361 B
Rust
//@ check-pass
|
|
//@ aux-build:format-string-proc-macro.rs
|
|
|
|
extern crate format_string_proc_macro;
|
|
|
|
fn main() {
|
|
// While literal macros like `format_args!(concat!())` are not supposed to work with implicit
|
|
// captures, it should work if the whole invocation comes from a macro expansion (#106408).
|
|
format_string_proc_macro::format_args_captures!();
|
|
}
|