]> git.lizzy.rs Git - rust.git/blob - src/tools/clippy/tests/ui/seek_to_start_instead_of_rewind.stderr
Rollup merge of #104704 - ecnelises:p10vec, r=jackh726
[rust.git] / src / tools / clippy / tests / ui / seek_to_start_instead_of_rewind.stderr
1 error: used `seek` to go to the start of the stream
2   --> $DIR/seek_to_start_instead_of_rewind.rs:54:7
3    |
4 LL |     t.seek(SeekFrom::Start(0));
5    |       ^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with: `rewind()`
6    |
7    = note: `-D clippy::seek-to-start-instead-of-rewind` implied by `-D warnings`
8
9 error: used `seek` to go to the start of the stream
10   --> $DIR/seek_to_start_instead_of_rewind.rs:59:7
11    |
12 LL |     t.seek(SeekFrom::Start(0));
13    |       ^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with: `rewind()`
14
15 error: used `seek` to go to the start of the stream
16   --> $DIR/seek_to_start_instead_of_rewind.rs:131:7
17    |
18 LL |     f.seek(SeekFrom::Start(0));
19    |       ^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with: `rewind()`
20
21 error: aborting due to 3 previous errors
22