diff options
| author | Camille GILLOT <gillot.camille@gmail.com> | 2019-11-28 19:28:50 +0100 |
|---|---|---|
| committer | Camille GILLOT <gillot.camille@gmail.com> | 2019-12-21 23:17:29 +0100 |
| commit | 084e6722f97560891cfe70dc7ab649f22eaf9aae (patch) | |
| tree | 3ade7fb210b8aa19e775b2fc01bbfb962a9960e4 /src/librustc_codegen_utils | |
| parent | 4dc79f1f7d8aabbed2983a91ba1027373b376a65 (diff) | |
| download | rust-084e6722f97560891cfe70dc7ab649f22eaf9aae.tar.gz rust-084e6722f97560891cfe70dc7ab649f22eaf9aae.zip | |
Use Arena inside hir::Item.
Diffstat (limited to 'src/librustc_codegen_utils')
| -rw-r--r-- | src/librustc_codegen_utils/symbol_names_test.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_codegen_utils/symbol_names_test.rs b/src/librustc_codegen_utils/symbol_names_test.rs index 51269be4e9f..d468717fe7c 100644 --- a/src/librustc_codegen_utils/symbol_names_test.rs +++ b/src/librustc_codegen_utils/symbol_names_test.rs @@ -57,7 +57,7 @@ impl SymbolNamesTest<'tcx> { } impl hir::itemlikevisit::ItemLikeVisitor<'tcx> for SymbolNamesTest<'tcx> { - fn visit_item(&mut self, item: &'tcx hir::Item) { + fn visit_item(&mut self, item: &'tcx hir::Item<'tcx>) { self.process_attrs(item.hir_id); } |
