1 error: using `drain` can result in unstable query results
2 --> $DIR/query_stability.rs:13:16
4 LL | for _ in x.drain() {}
7 = note: if you believe this case to be fine, allow this lint and add a comment explaining your rationale
8 note: the lint level is defined here
9 --> $DIR/query_stability.rs:4:9
11 LL | #![deny(rustc::potential_query_instability)]
12 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
14 error: using `iter` can result in unstable query results
15 --> $DIR/query_stability.rs:16:16
17 LL | for _ in x.iter() {}
20 = note: if you believe this case to be fine, allow this lint and add a comment explaining your rationale
22 error: using `iter_mut` can result in unstable query results
23 --> $DIR/query_stability.rs:19:36
25 LL | for _ in Some(&mut x).unwrap().iter_mut() {}
28 = note: if you believe this case to be fine, allow this lint and add a comment explaining your rationale
30 error: using `into_iter` can result in unstable query results
31 --> $DIR/query_stability.rs:22:14
36 = note: if you believe this case to be fine, allow this lint and add a comment explaining your rationale
38 error: aborting due to 4 previous errors