Skip to content

Commit 1b92d59

Browse files
committedJun 16, 2020
Explain unused macro param
1 parent 2ea3864 commit 1b92d59

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed
 

‎src/librustc_arena/lib.rs

+4
Original file line numberDiff line numberDiff line change
@@ -602,6 +602,10 @@ macro_rules! which_arena_for_type {
602602

603603
#[macro_export]
604604
macro_rules! declare_arena {
605+
// This macro has to take the same input as
606+
// `impl_arena_allocatable_decoders` which requires a second version of
607+
// each type. We ignore that type until we can fix
608+
// `impl_arena_allocatable_decoders`.
605609
([], [$($a:tt $name:ident: $ty:ty, $_gen_ty:ty;)*], $tcx:lifetime) => {
606610
#[derive(Default)]
607611
pub struct Arena<$tcx> {

0 commit comments

Comments
 (0)
Please sign in to comment.