1 // Test that we don't show variables with from for loop desugaring
3 fn for_loop(s: &[i32]) {
5 //~^ ERROR cannot borrow data in a `&` reference as mutable [E0596]
14 fn for_loop_dropck(v: Vec<D<'static>>) {
17 *d = D(&y); //~ ERROR `y` does not live long enough