about summary refs log tree commit diff
path: root/src/rustllvm/CoverageMappingWrapper.cpp
diff options
context:
space:
mode:
authorRabi Guha <rabisg@google.com>2020-04-08 16:27:58 +0530
committerRabi Guha <rabisg@google.com>2020-04-08 21:24:20 +0530
commitc2e55341578ae7b8da9a91eb7ae02f805d5b992e (patch)
treeaeebe4be61a619085ae8a23bca9656516b336837 /src/rustllvm/CoverageMappingWrapper.cpp
parentd342cee78703c46d9df09088f9fb99ba85d021ae (diff)
downloadrust-c2e55341578ae7b8da9a91eb7ae02f805d5b992e.tar.gz
rust-c2e55341578ae7b8da9a91eb7ae02f805d5b992e.zip
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
Diffstat (limited to 'src/rustllvm/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions