about summary refs log tree commit diff
path: root/tests/ui/fmt/format-args-capture-issue-106408.rs
blob: 10f944dd9ba678eecc48758830331b481b59215c (plain)
1
2
3
4
5
6
7
8
9
10
//@ check-pass
//@ proc-macro: 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!();
}