2022-11-21 19:34:47 +00:00
|
|
|
error: used `seek` to go to the start of the stream
|
2022-12-01 17:29:38 +00:00
|
|
|
--> $DIR/seek_to_start_instead_of_rewind.rs:53:7
|
2022-11-21 19:34:47 +00:00
|
|
|
|
|
|
|
|
LL | t.seek(SeekFrom::Start(0));
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with: `rewind()`
|
|
|
|
|
|
|
|
|
= note: `-D clippy::seek-to-start-instead-of-rewind` implied by `-D warnings`
|
|
|
|
|
|
|
|
error: used `seek` to go to the start of the stream
|
2022-12-01 17:29:38 +00:00
|
|
|
--> $DIR/seek_to_start_instead_of_rewind.rs:58:7
|
2022-11-21 19:34:47 +00:00
|
|
|
|
|
|
|
|
LL | t.seek(SeekFrom::Start(0));
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with: `rewind()`
|
|
|
|
|
|
|
|
error: used `seek` to go to the start of the stream
|
2022-12-17 13:12:54 +00:00
|
|
|
--> $DIR/seek_to_start_instead_of_rewind.rs:134:7
|
2022-11-21 19:34:47 +00:00
|
|
|
|
|
|
|
|
LL | f.seek(SeekFrom::Start(0));
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with: `rewind()`
|
|
|
|
|
|
|
|
error: aborting due to 3 previous errors
|
|
|
|
|