]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/unboxed-closures/unboxed-closures-borrow-conflict.rs
1 // Test that an unboxed closure that mutates a free variable will
2 // cause borrow conflicts.
9 let _y
= x
; //~ ERROR cannot use `x` because it was mutably borrowed