2022-10-25 12:26:06 +09:00
|
|
|
error: using `SeekFrom::Current` to start from current position
|
2023-07-27 11:40:22 +00:00
|
|
|
--> $DIR/seek_from_current.rs:19:5
|
2022-10-25 12:26:06 +09: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
|
|
|
|
|