rust/tests/ui/crashes/ice-8250.stderr

11 lines
296 B
Plaintext
Raw Normal View History

error: unnecessary use of `splitn`
--> $DIR/ice-8250.rs:2:13
|
LL | let _ = s[1..].splitn(2, '.').next()?;
2023-07-01 06:08:01 -05:00
| ^^^^^^^^^^^^^^^^^^^^^ help: try: `s[1..].split('.')`
|
= note: `-D clippy::needless-splitn` implied by `-D warnings`
error: aborting due to previous error