about summary refs log tree commit diff
path: root/src/rustllvm/CoverageMappingWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2020-04-08 16:55:47 +0000
committerbors <bors@rust-lang.org>2020-04-08 16:55:47 +0000
commit940bbd6aa45c615e598ab92b8486c5698554499d (patch)
tree456ced553da1e8eae1ebc6bbba2705ba66b401aa /src/rustllvm/CoverageMappingWrapper.cpp
parent7bfdee56afb63a124dde58002490b4b4347d5fea (diff)
parentc2e55341578ae7b8da9a91eb7ae02f805d5b992e (diff)
downloadrust-940bbd6aa45c615e598ab92b8486c5698554499d.tar.gz
rust-940bbd6aa45c615e598ab92b8486c5698554499d.zip
Auto merge of #5437 - rabisg0:should-impl-trait, r=flip1995
Check fn header along with decl when suggesting to implement trait

When checking for functions that are potential candidates for trait
implementations check the function header to make sure modifiers like
asyncness, constness and safety match before triggering the lint.

Fixes #5413, #4290

changelog: check fn header along with decl for should_implement_trait
Diffstat (limited to 'src/rustllvm/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions