Rollup merge of #83965 - rust-lang:debug-intravisit-fnkind, r=lqd

Add Debug implementation for hir::intravisit::FnKind
This commit is contained in:
Dylan DPC 2021-04-08 01:01:46 +02:00 committed by GitHub
commit 1ab186aeed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -98,7 +98,7 @@ where
}
}
#[derive(Copy, Clone)]
#[derive(Copy, Clone, Debug)]
pub enum FnKind<'a> {
/// `#[xxx] pub async/const/extern "Abi" fn foo()`
ItemFn(Ident, &'a Generics<'a>, FnHeader, &'a Visibility<'a>),