2019-05-22 12:20:43 -05:00
|
|
|
// Regression test for issue #61033.
|
|
|
|
|
|
|
|
macro_rules! test1 {
|
2020-03-17 06:12:57 -05:00
|
|
|
($x:ident, $($tt:tt)*) => { $($tt)+ } //~ ERROR this must repeat at least once
|
2019-05-22 12:20:43 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
fn main() {
|
|
|
|
test1!(x,);
|
2020-03-17 06:12:57 -05:00
|
|
|
let _recovery_witness: () = 0; //~ ERROR mismatched types
|
2019-05-22 12:20:43 -05:00
|
|
|
}
|