about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/coverage/mod.rs
diff options
context:
space:
mode:
authorklensy <klensy@users.noreply.github.com>2024-03-28 16:57:32 +0300
committerklensy <klensy@users.noreply.github.com>2024-03-28 16:57:32 +0300
commit9a6b3dfc0636ab8eaece281ecfeceb2b2f393b06 (patch)
tree5e5a05ac2bd041a05da0129de71327b620cee004 /compiler/rustc_mir_transform/src/coverage/mod.rs
parent5488e492af99e8a7b1b24cbccdfcd6635996220d (diff)
downloadrust-9a6b3dfc0636ab8eaece281ecfeceb2b2f393b06.tar.gz
rust-9a6b3dfc0636ab8eaece281ecfeceb2b2f393b06.zip
and few more
maybe bug here?

warning: this argument is a mutable reference, but not used mutably
    --> compiler\rustc_borrowck\src\diagnostics\conflict_errors.rs:3857:35
     |
3857 |     pub(crate) fn emit(&self, cx: &mut MirBorrowckCtxt<'_, 'tcx>, diag: &mut Diag<'_>) -> String {
     |                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider changing to: `&MirBorrowckCtxt<'_, 'tcx>`
     |
     = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_pass_by_ref_mut

warning: this argument is a mutable reference, but not used mutably
   --> compiler\rustc_borrowck\src\type_check\liveness\trace.rs:601:17
    |
601 |         typeck: &mut TypeChecker<'_, 'tcx>,
    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider changing to: `&TypeChecker<'_, 'tcx>`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_pass_by_ref_mut
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/mod.rs')
0 files changed, 0 insertions, 0 deletions