Address review comments.
This commit is contained in:
parent
bb0ae3c446
commit
08a00eb0da
6 changed files with 9 additions and 10 deletions
|
@ -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 => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue