summaryrefslogtreecommitdiffstats
path: root/tests/ui/error-codes/E0596.rs
blob: 9e2f5ee763639b8f36a3bf4a8f5f33dfe3b5f6fd (plain)
1
2
3
4
fn main() {
    let x = 1;
    let y = &mut x; //~ ERROR [E0596]
}