]> git.proxmox.com Git - rustc.git/blame - src/tools/clippy/tests/ui/crashes/ice-8250.stderr
New upstream version 1.62.1+dfsg1
[rustc.git] / src / tools / clippy / tests / ui / crashes / ice-8250.stderr
CommitLineData
5099ac24
FG
1error: unnecessary use of `splitn`
2 --> $DIR/ice-8250.rs:2:13
3 |
4LL | let _ = s[1..].splitn(2, '.').next()?;
5 | ^^^^^^^^^^^^^^^^^^^^^ help: try this: `s[1..].split('.')`
6 |
7 = note: `-D clippy::needless-splitn` implied by `-D warnings`
8
04454e1e 9error: aborting due to previous error
5099ac24 10