mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-12 16:45:37 +00:00
11 lines
338 B
Plaintext
11 lines
338 B
Plaintext
error: using `SeekFrom::Current` to start from current position
|
|
--> $DIR/seek_from_current.rs:21:5
|
|
|
|
|
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
|
|
|