2022-10-16 19:31:03 +00:00
|
|
|
error: used `seek` to go to the start of the stream
|
2022-11-19 12:50:02 +00:00
|
|
|
--> $DIR/seek_to_start_instead_of_rewind.rs:53:7
|
2022-10-16 19:31:03 +00:00
|
|
|
|
|
|
|
|
LL | t.seek(SeekFrom::Start(0));
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with: `rewind()`
|
|
|
|
|
|
2022-10-24 15:54:08 +00:00
|
|
|
= note: `-D clippy::seek-to-start-instead-of-rewind` implied by `-D warnings`
|
2022-10-16 19:31:03 +00:00
|
|
|
|
|
|
|
error: used `seek` to go to the start of the stream
|
2022-11-19 12:50:02 +00:00
|
|
|
--> $DIR/seek_to_start_instead_of_rewind.rs:58:7
|
2022-10-16 19:31:03 +00:00
|
|
|
|
|
|
|
|
LL | t.seek(SeekFrom::Start(0));
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with: `rewind()`
|
|
|
|
|
2022-10-21 16:08:04 +00:00
|
|
|
error: used `seek` to go to the start of the stream
|
2022-11-19 12:50:02 +00:00
|
|
|
--> $DIR/seek_to_start_instead_of_rewind.rs:128:7
|
2022-10-21 16:08:04 +00:00
|
|
|
|
|
|
|
|
LL | f.seek(SeekFrom::Start(0));
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with: `rewind()`
|
|
|
|
|
|
|
|
error: aborting due to 3 previous errors
|
2022-10-16 19:31:03 +00:00
|
|
|
|