Box HIR Generics and Impl.
This commit is contained in:
parent
76d4862fdd
commit
71b4e2d852
16 changed files with 61 additions and 56 deletions
|
@ -1199,8 +1199,8 @@ impl<'tcx> LateLintPass<'tcx> for InvalidNoMangleItems {
|
|||
});
|
||||
}
|
||||
}
|
||||
hir::ItemKind::Impl(hir::Impl { ref generics, items, .. }) => {
|
||||
for it in items {
|
||||
hir::ItemKind::Impl(hir::Impl { generics, items, .. }) => {
|
||||
for it in *items {
|
||||
if let hir::AssocItemKind::Fn { .. } = it.kind {
|
||||
if let Some(no_mangle_attr) = cx
|
||||
.sess()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue