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
Tested with:
cargo check \
--manifest-path tests/crate/Cargo.toml \
--target aarch64-unknown-none \
--no-default-features \
--features alloc
which fails before this commit and succeeds after.
Before this commit:
Checking serde_json_test v0.0.0
error[E0463]: can't find crate for `std`
|
= note: the `aarch64-unknown-none` target may not be installed
error: aborting due to previous error