2022-11-21 20:34:47 +01:00
|
|
|
error: using `SeekFrom::Current` to start from current position
|
2023-08-24 21:32:12 +02:00
|
|
|
--> $DIR/seek_from_current.rs:19:5
|
2022-11-21 20:34:47 +01:00
|
|
|
|
|
|
|
|
LL | f.seek(SeekFrom::Current(0))?;
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with: `f.stream_position()`
|
|
|
|
|
|
|
|
|
= note: `-D clippy::seek-from-current` implied by `-D warnings`
|
2023-08-01 14:02:21 +02:00
|
|
|
= help: to override `-D warnings` add `#[allow(clippy::seek_from_current)]`
|
2022-11-21 20:34:47 +01:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|