summaryrefslogtreecommitdiffstats
path: root/src/tools/clippy/tests/ui/seek_from_current.stderr
blob: 42eb342c10aa67bde1a01c5a1fcd1483d87b17fe (plain)
1
2
3
4
5
6
7
8
9
10
11
error: using `SeekFrom::Current` to start from current position
  --> $DIR/seek_from_current.rs:19:5
   |
LL |     f.seek(SeekFrom::Current(0))?;
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with: `f.stream_position()`
   |
   = note: `-D clippy::seek-from-current` implied by `-D warnings`
   = help: to override `-D warnings` add `#[allow(clippy::seek_from_current)]`

error: aborting due to previous error