1 // Tests that two closures cannot simultaneously have mutable
2 // access to the variable, whether that mutable access be used
3 // for direct assignment or for taking mutable ref. Issue #6801.
5 #![feature(rustc_attrs)]
7 #[rustc_on_unimplemented(
9 label="the label" //~ ERROR expected `,`, found `label`