about summary refs log tree commit diff
path: root/src/rustllvm/CoverageMappingWrapper.cpp
diff options
context:
space:
mode:
authorPhilipp Krones <hello@philkrones.com>2020-04-15 20:12:27 +0200
committerGitHub <noreply@github.com>2020-04-15 20:12:27 +0200
commit3481bf4102424d648a3f9efa74558ed17d492d55 (patch)
treefae9f8af5ffdef53478173ef1b65270b0bccdf25 /src/rustllvm/CoverageMappingWrapper.cpp
parenta9a4c8e630f03889160e0eafa9c546f9cb71921a (diff)
parent3c2bbcf00e3b97ab1fb03665b4afc7b7df0cd25e (diff)
downloadrust-3481bf4102424d648a3f9efa74558ed17d492d55.tar.gz
rust-3481bf4102424d648a3f9efa74558ed17d492d55.zip
Rollup merge of #5226 - ThibsG:DerefExplicit1566, r=flip1995
Add lint for explicit deref and deref_mut method calls

This PR adds the lint `explicit_deref_method` that suggests replacing `deref()` and `deref_mut()` with `&*a` and `&mut *a`.

It doesn't lint inside macros.

This PR is the continuation of  #3258.

changelog: Add lint `explicit_deref_method`.

Fixes: #1566
Diffstat (limited to 'src/rustllvm/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions