mirror of
https://github.com/serde-rs/json.git
synced 2026-04-10 04:05:35 +00:00
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
50 lines
991 B
Rust
50 lines
991 B
Rust
#![allow(
|
|
clippy::cast_lossless,
|
|
clippy::cast_possible_truncation,
|
|
clippy::cast_possible_wrap,
|
|
clippy::cast_precision_loss,
|
|
clippy::cast_sign_loss,
|
|
clippy::comparison_chain,
|
|
clippy::doc_markdown,
|
|
clippy::excessive_precision,
|
|
clippy::float_cmp,
|
|
clippy::if_not_else,
|
|
clippy::module_name_repetitions,
|
|
clippy::shadow_unrelated,
|
|
clippy::similar_names,
|
|
clippy::single_match_else,
|
|
clippy::too_many_lines,
|
|
clippy::unreadable_literal,
|
|
clippy::unseparated_literal_suffix,
|
|
clippy::wildcard_imports
|
|
)]
|
|
|
|
#[path = "../src/lexical/mod.rs"]
|
|
mod lexical;
|
|
|
|
mod lib {
|
|
pub use std::vec::Vec;
|
|
pub use std::{cmp, iter, mem, ops};
|
|
}
|
|
|
|
#[path = "lexical/algorithm.rs"]
|
|
mod algorithm;
|
|
|
|
#[path = "lexical/exponent.rs"]
|
|
mod exponent;
|
|
|
|
#[path = "lexical/float.rs"]
|
|
mod float;
|
|
|
|
#[path = "lexical/math.rs"]
|
|
mod math;
|
|
|
|
#[path = "lexical/num.rs"]
|
|
mod num;
|
|
|
|
#[path = "lexical/parse.rs"]
|
|
mod parse;
|
|
|
|
#[path = "lexical/rounding.rs"]
|
|
mod rounding;
|