]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #98028 - aticu:master, r=estebank
authorMatthias Krüger <matthias.krueger@famsik.de>
Tue, 19 Jul 2022 11:30:44 +0000 (13:30 +0200)
committerGitHub <noreply@github.com>
Tue, 19 Jul 2022 11:30:44 +0000 (13:30 +0200)
Add E0790 as more specific variant of E0283

Fixes #81701

I think this should be good to go, there are only two things where I am somewhat unsure:
- Is there a better way to get the fully-qualified path for the suggestion? I tried `self.tcx.def_path_str`, but that didn't seem to always give a correct path for the context.
- Should all this be extracted into it's own method or is it fine where it is?

r? `@estebank`


Trivial merge