2022-10-16 14:31:03 -05:00
|
|
|
error: used `seek` to go to the start of the stream
|
2023-07-27 06:40:22 -05:00
|
|
|
--> $DIR/seek_to_start_instead_of_rewind.rs:52:7
|
2022-10-16 14:31:03 -05:00
|
|
|
|
|
|
|
|
LL | t.seek(SeekFrom::Start(0));
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with: `rewind()`
|
|
|
|
|
|
2022-10-24 10:54:08 -05:00
|
|
|
= note: `-D clippy::seek-to-start-instead-of-rewind` implied by `-D warnings`
|
2022-10-16 14:31:03 -05:00
|
|
|
|
|
|
|
error: used `seek` to go to the start of the stream
|
2023-07-27 06:40:22 -05:00
|
|
|
--> $DIR/seek_to_start_instead_of_rewind.rs:57:7
|
2022-10-16 14:31:03 -05:00
|
|
|
|
|
|
|
|
LL | t.seek(SeekFrom::Start(0));
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with: `rewind()`
|
|
|
|
|
2022-10-21 11:08:04 -05:00
|
|
|
error: used `seek` to go to the start of the stream
|
2023-07-27 06:40:22 -05:00
|
|
|
--> $DIR/seek_to_start_instead_of_rewind.rs:133:7
|
2022-10-21 11:08:04 -05:00
|
|
|
|
|
|
|
|
LL | f.seek(SeekFrom::Start(0));
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with: `rewind()`
|
|
|
|
|
|
|
|
error: aborting due to 3 previous errors
|
2022-10-16 14:31:03 -05:00
|
|
|
|