Allow LocalDefId
as the argument to def_path_str
This commit is contained in:
parent
e18d1f8d2e
commit
1ce80e210d
18 changed files with 68 additions and 54 deletions
|
@ -1230,7 +1230,7 @@ impl<'v> RootCollector<'_, 'v> {
|
|||
DefKind::GlobalAsm => {
|
||||
debug!(
|
||||
"RootCollector: ItemKind::GlobalAsm({})",
|
||||
self.tcx.def_path_str(id.owner_id.to_def_id())
|
||||
self.tcx.def_path_str(id.owner_id)
|
||||
);
|
||||
self.output.push(dummy_spanned(MonoItem::GlobalAsm(id)));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue