]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/nll/issue-57989.rs
c410f0b0bfb4da6fd4d8b73d1ec5298cf5666c8a
1 // Test for ICE from issue 57989
5 *x
= 0; //~ ERROR cannot assign to `*x` which is behind a `&` reference
6 //~| ERROR cannot assign to `*x` because it is borrowed