1 error[E0597]: borrowed value does not live long enough
2 --> $DIR/borrowck-let-suggestion.rs:12:17
4 LL | let mut x = vec![1].iter();
5 | ^^^^^^^ - temporary value only lives until here
7 | temporary value does not live long enough
9 | - borrow later used here
11 = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
13 error: aborting due to previous error
15 For more information about this error, try `rustc --explain E0597`.