We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 03d1508 commit c27e29eCopy full SHA for c27e29e
src/test/ui/issue-45157.rs
@@ -37,7 +37,6 @@ fn main() {
37
let nref = &u.z.c;
38
//~^ ERROR cannot borrow `u.z.c` as immutable because it is also borrowed as mutable [E0502]
39
println!("{} {}", mref, nref)
40
- //~^ ERROR cannot borrow `u.s.a` as mutable because it is also borrowed as immutable [E0502]
41
}
42
43
0 commit comments