}
d
}
- ast::TypeImplItem(_) => {
- ccx.sess().bug("can't monomorphize an associated type")
- }
- ast::MacImplItem(_) => {
- ccx.sess().bug("can't monomorphize an unexpanded macro")
+ _ => {
+ ccx.sess().bug(&format!("can't monomorphize a {:?}",
+ map_node))
}
}
}