rust/tests/ui/rewind_instead_of_seek_to_start.stderr

17 lines
554 B
Plaintext
Raw Normal View History

error: used `seek` to go to the start of the stream
--> $DIR/rewind_instead_of_seek_to_start.rs:53:7
|
LL | t.seek(SeekFrom::Start(0));
| ^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with: `rewind()`
|
= note: `-D clippy::rewind-instead-of-seek-to-start` implied by `-D warnings`
error: used `seek` to go to the start of the stream
--> $DIR/rewind_instead_of_seek_to_start.rs:58:7
|
LL | t.seek(SeekFrom::Start(0));
| ^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with: `rewind()`
error: aborting due to 2 previous errors