diff options
| author | Matthew Jasper <mjjasper1@gmail.com> | 2020-06-16 19:29:53 +0100 |
|---|---|---|
| committer | Matthew Jasper <mjjasper1@gmail.com> | 2020-06-16 19:29:53 +0100 |
| commit | 1b92d592b5c7f8a3d399e5b9005f4b316b316ef1 (patch) | |
| tree | e94407a66031698bdbdab8917efea1b26924224a | |
| parent | 2ea386424f1a9065947a5ac246043a6945e90def (diff) | |
| download | rust-1b92d592b5c7f8a3d399e5b9005f4b316b316ef1.tar.gz rust-1b92d592b5c7f8a3d399e5b9005f4b316b316ef1.zip | |
Explain unused macro param
| -rw-r--r-- | src/librustc_arena/lib.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/librustc_arena/lib.rs b/src/librustc_arena/lib.rs index 7f154052538..a21d30bf817 100644 --- a/src/librustc_arena/lib.rs +++ b/src/librustc_arena/lib.rs @@ -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> { |
