]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-26093.rs
Auto merge of #95685 - oxidecomputer:restore-static-dwarf, r=pnkfelix
[rust.git] / src / test / ui / issues / issue-26093.rs
1 macro_rules! not_a_place {
2     ($thing:expr) => {
3         $thing = 42;
4         //~^ ERROR invalid left-hand side of assignment
5         $thing += 42;
6         //~^ ERROR invalid left-hand side of assignment
7     }
8 }
9
10 fn main() {
11     not_a_place!(99);
12 }