diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2021-04-07 13:30:37 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-04-07 13:30:37 +0200 |
| commit | 6e77bcbbcd3b92c535c5d272f9508c55ffaa121e (patch) | |
| tree | 395bdd9d0aaebdd874cf3bd3a388553909714a36 | |
| parent | 1c158b6a8b440f826d952c3a8f42bdc3f77a5ac1 (diff) | |
| download | rust-6e77bcbbcd3b92c535c5d272f9508c55ffaa121e.tar.gz rust-6e77bcbbcd3b92c535c5d272f9508c55ffaa121e.zip | |
Add Debug implementation for hir::intravisit::FnKind
| -rw-r--r-- | compiler/rustc_hir/src/intravisit.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_hir/src/intravisit.rs b/compiler/rustc_hir/src/intravisit.rs index d766a68e194..16b38bcf42c 100644 --- a/compiler/rustc_hir/src/intravisit.rs +++ b/compiler/rustc_hir/src/intravisit.rs @@ -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>), |
