2022-10-24 22:26:06 -05:00
|
|
|
error: using `SeekFrom::Current` to start from current position
|
2022-11-19 06:50:02 -06:00
|
|
|
--> $DIR/seek_from_current.rs:20:5
|
2022-10-24 22:26:06 -05:00
|
|
|
|
|
|
|
|
LL | f.seek(SeekFrom::Current(0))?;
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with: `f.stream_position()`
|
|
|
|
|
|
|
|
|
= note: `-D clippy::seek-from-current` implied by `-D warnings`
|
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|