Make hir::PathSegment::res
non-optional.
This commit is contained in:
parent
ee244bf196
commit
6d850d936b
20 changed files with 65 additions and 76 deletions
|
@ -912,7 +912,7 @@ impl<'tcx> DumpVisitor<'tcx> {
|
|||
_,
|
||||
)
|
||||
| Res::SelfTy { .. } => {
|
||||
self.dump_path_segment_ref(id, &hir::PathSegment::from_ident(ident));
|
||||
self.dump_path_segment_ref(id, &hir::PathSegment::from_ident(ident, Res::Err));
|
||||
}
|
||||
def => {
|
||||
error!("unexpected definition kind when processing collected idents: {:?}", def)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue