Update to rustc master
This commit is contained in:
parent
d722489e71
commit
99a087bea5
@ -942,7 +942,7 @@ pub fn opt_def_id(def: Def) -> Option<DefId> {
|
||||
=> Some(id),
|
||||
|
||||
Def::Upvar(..) | Def::Local(_) | Def::Label(..) | Def::PrimTy(..) | Def::SelfTy(..) |
|
||||
Def::ToolMod | Def::NonMacroAttr | Def::Err => None,
|
||||
Def::ToolMod | Def::NonMacroAttr{..} | Def::Err => None,
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user