Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
These warnings have newly appeared in Rust 1.73.0. warning: call to `.clone()` on a reference in this situation does nothing --> src/compile.rs:384:45 | 384 | ... Some(typ_element.clone()), | ^^^^^^^^ help: remove this redundant call | = note: the type `TypeElement` does not implement `Clone`, so calling `clone` on `&TypeElement` copies the reference, which does not do anything and can be removed = note: `#[warn(noop_method_call)]` on by default warning: call to `.clone()` on a reference in this situation does nothing --> src/compile.rs:401:53 | 401 | ... Some(typ_element.clone()), | ^^^^^^^^ help: remove this redundant call | = note: the type `TypeElement` does not implement `Clone`, so calling `clone` on `&TypeElement` copies the reference, which does not do anything and can be removed warning: call to `.clone()` on a reference in this situation does nothing --> src/compile.rs:1360:38 | 1360 | Some(type_element.clone()), | ^^^^^^^^ help: remove this redundant call | = note: the type `TypeElement` does not implement `Clone`, so calling `clone` on `&TypeElement` copies the reference, which does not do anything and can be removed warning: `auto_generate_cdp` (lib) generated 3 warnings (run `cargo fix --lib -p auto_generate_cdp` to apply 3 suggestions)
- Loading branch information