2022-11-21 13:34:47 -06:00
|
|
|
error: used `seek` to go to the start of the stream
|
2024-02-17 06:16:29 -06:00
|
|
|
--> tests/ui/seek_to_start_instead_of_rewind.rs:52:7
|
2022-11-21 13:34:47 -06:00
|
|
|
|
|
|
|
|
LL | t.seek(SeekFrom::Start(0));
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with: `rewind()`
|
|
|
|
|
|
|
|
|
= note: `-D clippy::seek-to-start-instead-of-rewind` implied by `-D warnings`
|
2023-08-01 07:02:21 -05:00
|
|
|
= help: to override `-D warnings` add `#[allow(clippy::seek_to_start_instead_of_rewind)]`
|
2022-11-21 13:34:47 -06:00
|
|
|
|
|
|
|
error: used `seek` to go to the start of the stream
|
2024-02-17 06:16:29 -06:00
|
|
|
--> tests/ui/seek_to_start_instead_of_rewind.rs:57:7
|
2022-11-21 13:34:47 -06:00
|
|
|
|
|
|
|
|
LL | t.seek(SeekFrom::Start(0));
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with: `rewind()`
|
|
|
|
|
|
|
|
error: used `seek` to go to the start of the stream
|
2024-02-17 06:16:29 -06:00
|
|
|
--> tests/ui/seek_to_start_instead_of_rewind.rs:136:7
|
2022-11-21 13:34:47 -06:00
|
|
|
|
|
|
|
|
LL | f.seek(SeekFrom::Start(0));
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with: `rewind()`
|
|
|
|
|
|
|
|
error: aborting due to 3 previous errors
|
|
|
|
|