summaryrefslogtreecommitdiffstats
path: root/src/tools/clippy/tests/ui/crashes/ice-8250.rs
blob: d9a5ee1162a49cb0a9daa52157037caa0e3f9b1f (plain)
1
2
3
4
5
6
fn _f(s: &str) -> Option<()> {
    let _ = s[1..].splitn(2, '.').next()?;
    Some(())
}

fn main() {}