Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit e5a41e5

Browse files
committed
Add a test for rust-lang#2953
1 parent ca19c9a commit e5a41e5

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

tests/target/obsolete_in_place.rs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
// #2953
2+
3+
macro_rules! demo {
4+
($a:ident <- $b:expr) => {};
5+
}
6+
7+
fn main() {
8+
demo!(i <- 0);
9+
}

0 commit comments

Comments
 (0)