]> git.lizzy.rs Git - rust.git/blob - src/test/ui/hygiene/format-args.rs
Rollup merge of #90202 - matthewjasper:xcrate-hygiene, r=petrochenkov
[rust.git] / src / test / ui / hygiene / format-args.rs
1 // check-pass
2
3 #![allow(non_upper_case_globals)]
4 #![feature(format_args_nl)]
5
6 static arg0: () = ();
7
8 fn main() {
9     static arg1: () = ();
10     format_args!("{} {:?}", 0, 1);
11     format_args_nl!("{} {:?}", 0, 1);
12 }