|
1 | 1 | error: handle written amount returned or use `Write::write_all` instead
|
2 |
| - --> $DIR/unused_io_amount.rs:17:5 |
| 2 | + --> $DIR/unused_io_amount.rs:16:5 |
3 | 3 | |
|
4 |
| -17 | try!(s.write(b"test")); |
| 4 | +16 | try!(s.write(b"test")); |
5 | 5 | | ^^^^^^^^^^^^^^^^^^^^^^^
|
6 | 6 | |
|
7 | 7 | = note: `-D clippy::unused-io-amount` implied by `-D warnings`
|
8 | 8 | = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
|
9 | 9 |
|
10 | 10 | error: handle read amount returned or use `Read::read_exact` instead
|
11 |
| - --> $DIR/unused_io_amount.rs:19:5 |
| 11 | + --> $DIR/unused_io_amount.rs:18:5 |
12 | 12 | |
|
13 |
| -19 | try!(s.read(&mut buf)); |
| 13 | +18 | try!(s.read(&mut buf)); |
14 | 14 | | ^^^^^^^^^^^^^^^^^^^^^^^
|
15 | 15 | |
|
16 | 16 | = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
|
17 | 17 |
|
18 | 18 | error: handle written amount returned or use `Write::write_all` instead
|
19 |
| - --> $DIR/unused_io_amount.rs:24:5 |
| 19 | + --> $DIR/unused_io_amount.rs:23:5 |
20 | 20 | |
|
21 |
| -24 | s.write(b"test")?; |
| 21 | +23 | s.write(b"test")?; |
22 | 22 | | ^^^^^^^^^^^^^^^^^
|
23 | 23 |
|
24 | 24 | error: handle read amount returned or use `Read::read_exact` instead
|
25 |
| - --> $DIR/unused_io_amount.rs:26:5 |
| 25 | + --> $DIR/unused_io_amount.rs:25:5 |
26 | 26 | |
|
27 |
| -26 | s.read(&mut buf)?; |
| 27 | +25 | s.read(&mut buf)?; |
28 | 28 | | ^^^^^^^^^^^^^^^^^
|
29 | 29 |
|
30 | 30 | error: handle written amount returned or use `Write::write_all` instead
|
31 |
| - --> $DIR/unused_io_amount.rs:31:5 |
| 31 | + --> $DIR/unused_io_amount.rs:30:5 |
32 | 32 | |
|
33 |
| -31 | s.write(b"test").unwrap(); |
| 33 | +30 | s.write(b"test").unwrap(); |
34 | 34 | | ^^^^^^^^^^^^^^^^^^^^^^^^^
|
35 | 35 |
|
36 | 36 | error: handle read amount returned or use `Read::read_exact` instead
|
37 |
| - --> $DIR/unused_io_amount.rs:33:5 |
| 37 | + --> $DIR/unused_io_amount.rs:32:5 |
38 | 38 | |
|
39 |
| -33 | s.read(&mut buf).unwrap(); |
| 39 | +32 | s.read(&mut buf).unwrap(); |
40 | 40 | | ^^^^^^^^^^^^^^^^^^^^^^^^^
|
41 | 41 |
|
42 | 42 | error: aborting due to 6 previous errors
|
|
0 commit comments