1
Fork 0

Address review comments.

This commit is contained in:
Nicholas Nethercote 2022-09-01 08:44:20 +10:00
parent bb0ae3c446
commit 08a00eb0da
6 changed files with 9 additions and 10 deletions

View file

@ -914,7 +914,7 @@ impl<'tcx> DumpVisitor<'tcx> {
| Res::SelfTy { .. } => {
self.dump_path_segment_ref(
id,
&hir::PathSegment::from_ident(ident, hir::HirId::INVALID, Res::Err),
&hir::PathSegment::new(ident, hir::HirId::INVALID, Res::Err),
);
}
def => {