let x = [1].iter(); //~ ERROR borrowed value does not live long enough
//~^ NOTE reference must be valid for the block suffix following statement
//~^^ HELP consider using a `let` binding to increase its lifetime
+ //~^^^ NOTE ...but borrowed value is only valid for the statement at 12:4
}
fn main() {