diff options
| author | Rabi Guha <rabisg@google.com> | 2020-04-08 16:27:58 +0530 |
|---|---|---|
| committer | Rabi Guha <rabisg@google.com> | 2020-04-08 21:24:20 +0530 |
| commit | c2e55341578ae7b8da9a91eb7ae02f805d5b992e (patch) | |
| tree | aeebe4be61a619085ae8a23bca9656516b336837 /src/rustllvm/CoverageMappingWrapper.cpp | |
| parent | d342cee78703c46d9df09088f9fb99ba85d021ae (diff) | |
| download | rust-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
