error: consider adding a `;` to the last statement for consistent formatting
--> src/read.rs:680:9
|
680 | self.delegate.begin_raw_buffering()
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add a `;` here: `self.delegate.begin_raw_buffering();`
|
= note: `-D clippy::semicolon-if-nothing-returned` implied by `-D clippy::pedantic`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#semicolon_if_nothing_returned
error: consider adding a `;` to the last statement for consistent formatting
--> src/read.rs:756:9
|
756 | R::begin_raw_buffering(self)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add a `;` here: `R::begin_raw_buffering(self);`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#semicolon_if_nothing_returned
error: this expression borrows a reference (`&mut ser::Serializer<W, F>`) that is immediately dereferenced by the compiler
--> src/ser.rs:759:59
|
759 | tri!(value.serialize(NumberStrEmitter(&mut *ser)));
| ^^^^^^^^^ help: change this to: `*ser`
|
= note: `-D clippy::needless-borrow` implied by `-D clippy::all`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
error: this expression borrows a reference (`&mut ser::Serializer<W, F>`) that is immediately dereferenced by the compiler
--> src/ser.rs:768:61
|
768 | tri!(value.serialize(RawValueStrEmitter(&mut *ser)));
| ^^^^^^^^^ help: change this to: `*ser`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
error: consider adding a `;` to the last statement for consistent formatting
--> tests/../src/lexical/float.rs:111:9
|
111 | round_to_native::<F, _>(self, algorithm)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add a `;` here: `round_to_native::<F, _>(self, algorithm);`
|
= note: `-D clippy::semicolon-if-nothing-returned` implied by `-D clippy::pedantic`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#semicolon_if_nothing_returned
error: consider adding a `;` to the last statement for consistent formatting
--> tests/../src/lexical/math.rs:616:9
|
616 | iadd_impl(x, y, 0)
| ^^^^^^^^^^^^^^^^^^ help: add a `;` here: `iadd_impl(x, y, 0);`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#semicolon_if_nothing_returned
error: consider adding a `;` to the last statement for consistent formatting
--> tests/../src/lexical/math.rs:862:9
|
862 | self.ishl(n as usize)
| ^^^^^^^^^^^^^^^^^^^^^ help: add a `;` here: `self.ishl(n as usize);`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#semicolon_if_nothing_returned
error: consider adding a `;` to the last statement for consistent formatting
--> tests/../src/lexical/math.rs:868:9
|
868 | small::imul_pow5(self.data_mut(), n)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add a `;` here: `small::imul_pow5(self.data_mut(), n);`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#semicolon_if_nothing_returned
error: consider adding a `;` to the last statement for consistent formatting
--> tests/lexical/float.rs:184:5
|
184 | check_round_to_f64(10234494226754558294, -1086, 2498655817078750, -1074)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add a `;` here: `check_round_to_f64(10234494226754558294, -1086, 2498655817078750, -1074);`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#semicolon_if_nothing_returned
error: this expression borrows a reference (`&lexical::float::ExtendedFloat`) that is immediately dereferenced by the compiler
--> tests/../src/lexical/algorithm.rs:136:45
|
136 | u64::error_is_accurate::<F>(errors, &fp)
| ^^^ help: change this to: `fp`
|
= note: `-D clippy::needless-borrow` implied by `-D clippy::all`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
warning: field is never read: `map`
--> tests/test.rs:2233:9
|
2233 | map: BTreeMap<MyMapKey, ()>,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
error: consider adding a `;` to the last statement for consistent formatting
--> src/map.rs:55:9
|
55 | self.map.clear()
| ^^^^^^^^^^^^^^^^ help: add a `;` here: `self.map.clear();`
|
note: the lint level is defined here
--> src/lib.rs:304:22
|
304 | #![deny(clippy::all, clippy::pedantic)]
| ^^^^^^^^^^^^^^^^
= note: `#[deny(clippy::semicolon_if_nothing_returned)]` implied by `#[deny(clippy::pedantic)]`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#semicolon_if_nothing_returned
error: consider adding a `;` to the last statement for consistent formatting
--> src/read.rs:719:9
|
719 | R::discard(self)
| ^^^^^^^^^^^^^^^^ help: add a `;` here: `R::discard(self);`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#semicolon_if_nothing_returned
error: consider adding a `;` to the last statement for consistent formatting
--> src/read.rs:769:9
|
769 | R::set_failed(self, failed)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add a `;` here: `R::set_failed(self, failed);`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#semicolon_if_nothing_returned