about summary refs log tree commit diff
path: root/compiler/rustc_mir/src/transform/coverage/debug.rs
diff options
context:
space:
mode:
authorrail <12975677+rail-rain@users.noreply.github.com>2020-08-25 15:13:40 +1200
committerrail <12975677+rail-rain@users.noreply.github.com>2020-09-17 19:38:37 +1200
commitd655c0a938c16d30ae6824713165c749eff7210f (patch)
treec71bf7538f2f3cc00c24b88e3fed68b2673c0f33 /compiler/rustc_mir/src/transform/coverage/debug.rs
parent5af88e3c2d8cc4fb74a0e455381669930ee3a31a (diff)
downloadrust-d655c0a938c16d30ae6824713165c749eff7210f.tar.gz
rust-d655c0a938c16d30ae6824713165c749eff7210f.zip
Change the criteria of `interior_mutable_const`
* stop linting associated types and generic type parameters
* start linting ones in trait impls
  whose corresponding definitions in the traits are generic
* remove the `is_copy` check
  as presumably the only purpose of it is to allow
  generics with `Copy` bounds as `Freeze` is internal
  and generics are no longer linted
* remove the term 'copy' from the tests
  as being `Copy` no longer have meaning
Diffstat (limited to 'compiler/rustc_mir/src/transform/coverage/debug.rs')
0 files changed, 0 insertions, 0 deletions