2022-11-21 13:34:47 -06:00
|
|
|
error: using `SeekFrom::Current` to start from current position
|
2024-02-27 08:25:18 -06:00
|
|
|
--> tests/ui/seek_from_current.rs:19:5
|
2022-11-21 13:34:47 -06: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 07:02:21 -05:00
|
|
|
= help: to override `-D warnings` add `#[allow(clippy::seek_from_current)]`
|
2022-11-21 13:34:47 -06:00
|
|
|
|
2023-11-21 11:08:42 -06:00
|
|
|
error: aborting due to 1 previous error
|
2022-11-21 13:34:47 -06:00
|
|
|
|