Update rustc to 3/16 nightly.

This commit is contained in:
Josh Matthews 2020-03-16 13:33:47 -04:00
parent d857bec944
commit a555e7443b
2 changed files with 3 additions and 5 deletions

View file

@ -363,10 +363,8 @@ impl<'a, 'b, 'tcx> visit::Visitor<'tcx> for FnDefVisitor<'a, 'b, 'tcx> {
fn visit_ty(&mut self, _: &'tcx hir::Ty) {}
fn nested_visit_map<'this>(
&'this mut self,
) -> hir::intravisit::NestedVisitorMap<'this, Self::Map> {
hir::intravisit::NestedVisitorMap::OnlyBodies(&self.cx.tcx.hir())
fn nested_visit_map(&mut self) -> hir::intravisit::NestedVisitorMap<Self::Map> {
hir::intravisit::NestedVisitorMap::OnlyBodies(self.cx.tcx.hir())
}
}