]> git.lizzy.rs Git - rust.git/blob - src/tools/clippy/tests/ui/seek_to_start_instead_of_rewind.stderr
Merge commit '4bdfb0741dbcecd5279a2635c3280726db0604b5' into clippyup
[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:53: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:58: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:134:7
17    |
18 LL |     f.seek(SeekFrom::Start(0));
19    |       ^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with: `rewind()`
20
21 error: aborting due to 3 previous errors
22