]> git.lizzy.rs Git - rust.git/blob - src/test/ui/macros/issue-61033-1.rs
Merge commit '7c21f91b15b7604f818565646b686d90f99d1baf' into clippyup
[rust.git] / src / test / ui / macros / issue-61033-1.rs
1 // Regression test for issue #61033.
2
3 macro_rules! test1 {
4     ($x:ident, $($tt:tt)*) => { $($tt)+ } //~ ERROR this must repeat at least once
5 }
6
7 fn main() {
8     test1!(x,);
9     let _recovery_witness: () = 0; //~ ERROR mismatched types
10 }