blob: 0436debd565be1faa65c56ec02ea744d9ce6f77f (
plain)
1
2
3
4
5
6
7
8
9
|
//@ known-bug: #136442
//@ compile-flags: -Copt-level=0 -Zmir-enable-passes=+Inline -Zmir-enable-passes=+JumpThreading --crate-type lib
pub fn problem_thingy(items: &mut impl Iterator<Item = str>) {
let mut peeker = items.peekable();
match peeker.peek() {
Some(_) => (),
None => return (),
}
}
|