Update to rustc master

This commit is contained in:
Oliver Schneider 2018-08-08 13:18:25 +02:00
parent d722489e71
commit 99a087bea5

View File

@ -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,
}
}