Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto merge of #12065 - loongarch-rs:fix-unused-mut, r=weihanglo
Fix warning with unused mut ### What does this PR try to resolve? ``` warning: variable does not need to be mutable --> src/cargo/core/compiler/unit_dependencies.rs:152:5 | 152 | mut state: &mut State<'_, '_>, | ----^^^^^ | | | help: remove this `mut` | = note: `#[warn(unused_mut)]` on by default warning: `cargo` (lib) generated 1 warning (run `cargo fix --lib -p cargo` to apply 1 suggestion) ``` This is caused by rust-lang/rust#110960 ### How should we test and review this PR? Running the mainline rust toolchain and `cargo build` without any wanrning messages would look like the above. ### Additional information None
- Loading branch information