Skip to content

Commit 25f4131

Browse files
authored
Rollup merge of rust-lang#83965 - rust-lang:debug-intravisit-fnkind, r=lqd
Add Debug implementation for hir::intravisit::FnKind
2 parents 2dd7ba0 + 6e77bcb commit 25f4131

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_hir/src/intravisit.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ where
9898
}
9999
}
100100

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

0 commit comments

Comments
 (0)