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

Commit a0ba806

Browse files
committed
Merge pull request #90 from ville-h/26093
26093
2 parents f281b07 + 722a30d commit a0ba806

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/26093.rs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
macro_rules! not_an_lvalue {
2+
($thing:expr) => {
3+
$thing = 42;
4+
}
5+
}
6+
7+
fn main() {
8+
not_an_lvalue!(99);
9+
}

0 commit comments

Comments
 (0)