{
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout] = note: for more information, see {
[INFO] [stdout] | +++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unnecessary parentheses around block return value
[INFO] [stdout] --> src/lib.rs:492:25
[INFO] [stdout] |
[INFO] [stdout] 492 | (self.cmp_p.cmp_points(axis, &needle_min, &shape_max) == Ordering::Greater ||
[INFO] [stdout] | ^
[INFO] [stdout] 493 | self.cmp_p.cmp_points(axis, &needle_max, &shape_min) == Ordering::Less)
[INFO] [stdout] | ^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout] |
[INFO] [stdout] 492 ~ self.cmp_p.cmp_points(axis, &needle_min, &shape_max) == Ordering::Greater ||
[INFO] [stdout] 493 ~ self.cmp_p.cmp_points(axis, &needle_max, &shape_min) == Ordering::Less
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout] --> src/tests.rs:36:48
[INFO] [stdout] |
[INFO] [stdout] 36 | fn get_cut_point(cut_axis: &Axis, points: &mut Iterator {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout] = note: for more information, see {
[INFO] [stdout] | +++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout] --> src/lib.rs:511:71
[INFO] [stdout] |
[INFO] [stdout] 511 | ... shape_fragment: shape_fragment.clone(),
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: the type `ShapeFragment