Skip to content

Commit

Permalink
Explain unused macro param
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewjasper committed Jun 16, 2020
1 parent 2ea3864 commit 1b92d59
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/librustc_arena/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -602,6 +602,10 @@ macro_rules! which_arena_for_type {

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

0 comments on commit 1b92d59

Please sign in to comment.