turn hir::ItemKind::Fn into a named-field variant
This commit is contained in:
parent
c528b8c678
commit
be65012aa3
65 changed files with 158 additions and 111 deletions
|
@ -253,7 +253,7 @@ impl<'tcx> DirtyCleanVisitor<'tcx> {
|
|||
HirItem::Const(..) => ("ItemConst", LABELS_CONST),
|
||||
|
||||
// A function declaration
|
||||
HirItem::Fn(..) => ("ItemFn", LABELS_FN),
|
||||
HirItem::Fn { .. } => ("ItemFn", LABELS_FN),
|
||||
|
||||
// // A module
|
||||
HirItem::Mod(..) => ("ItemMod", LABELS_HIR_ONLY),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue