Skip to content

Commit cd0586b

Browse files
committed
Add test to reproduce issue Manishearth#48
1 parent 6a1b928 commit cd0586b

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
macro_rules! macro_with_error {
2+
( ) => {
3+
let x: u64 = true;
4+
};
5+
}
6+
7+
fn main() {
8+
macro_with_error!(); //~ ERROR mismatched types
9+
}

0 commit comments

Comments
 (0)