rust/src
David Tolnay 9125cc1c28
Resolve clippy::clone_on_copy
error: using `clone` on type `std::option::Option<u128>` which implements the `Copy` trait
       --> src/shims/tls.rs:307:24
        |
    307 |         let last_key = this.machine.tls.dtors_running[&active_thread].last_dtor_key.clone();
        |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `this.machine.tls.dtors_running[&active_thread].last_dtor_key`
        |
        = note: `-D clippy::clone-on-copy` implied by `-D clippy::all`
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy

    error: using `clone` on type `stacked_borrows::Item` which implements the `Copy` trait
       --> src/stacked_borrows.rs:317:21
        |
    317 |                     item.clone(),
        |                     ^^^^^^^^^^^^ help: try dereferencing it: `*item`
        |
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy
2022-04-29 15:37:35 -07:00
..
bin Suppress all currently triggered clippy lints 2022-04-29 15:26:54 -07:00
shims Resolve clippy::clone_on_copy 2022-04-29 15:37:35 -07:00
data_race.rs adjust for provenance cleanup 2022-04-20 08:40:19 -04:00
diagnostics.rs use new format string syntax in some places 2022-04-09 11:32:49 -04:00
eval.rs be explicit about types 2022-04-21 16:19:28 +02:00
helpers.rs Resolve clippy::assign_op_pattern 2022-04-29 15:36:58 -07:00
intptrcast.rs avoid into_pointer_or_addr and into_parts in visit_freeze_sensitive 2022-04-20 08:40:19 -04:00
lib.rs Resolve clippy::clone_on_copy 2022-04-29 15:37:35 -07:00
machine.rs Added support for multiple tracked pointers, allocs and calls 2022-04-21 10:40:11 +02:00
mono_hash_map.rs adjust Miri to Pointer type overhaul 2021-07-16 10:10:12 +02:00
operator.rs rustup 2022-04-09 09:41:29 -04:00
range_map.rs format much of Miri 2021-05-16 11:48:28 +02:00
stacked_borrows.rs Resolve clippy::clone_on_copy 2022-04-29 15:37:35 -07:00
sync.rs remove no longer needed imports 2022-04-09 11:32:49 -04:00
thread.rs do not consider thread-local allocations read-only 2022-04-19 14:56:07 -04:00
vector_clock.rs remove no longer needed imports 2022-04-09 11:32:49 -04:00