fix: Do not complete Drop::drop, complete std::mem::drop instead

This commit is contained in:
Lukas Wirth 2021-12-22 02:25:38 +01:00
parent 276687a6ee
commit 5360c9bd22
8 changed files with 88 additions and 10 deletions

View file

@ -71,6 +71,7 @@ impl<'a> RenderContext<'a> {
.unwrap_or(false)
}
// FIXME: remove this
fn docs(&self, def: impl HasAttrs) -> Option<hir::Documentation> {
def.docs(self.db())
}