about summary refs log tree commit diff
path: root/src/librustc_codegen_utils
diff options
context:
space:
mode:
authorCamille GILLOT <gillot.camille@gmail.com>2019-11-28 21:47:10 +0100
committerCamille GILLOT <gillot.camille@gmail.com>2019-12-21 23:30:52 +0100
commit0f7d77363b551eb9a1dc4ae348d213180eae070d (patch)
tree1ae43b09a663e06beae5fd7ed06b57e199fa17b0 /src/librustc_codegen_utils
parentacf33f2d6bca429196692d2b557c8e53e10bb9fe (diff)
downloadrust-0f7d77363b551eb9a1dc4ae348d213180eae070d.tar.gz
rust-0f7d77363b551eb9a1dc4ae348d213180eae070d.zip
Use Arena inside hir::TraitItem.
Diffstat (limited to 'src/librustc_codegen_utils')
-rw-r--r--src/librustc_codegen_utils/symbol_names_test.rs2
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 d468717fe7c..1a21be66c43 100644
--- a/src/librustc_codegen_utils/symbol_names_test.rs
+++ b/src/librustc_codegen_utils/symbol_names_test.rs
@@ -61,7 +61,7 @@ impl hir::itemlikevisit::ItemLikeVisitor<'tcx> for SymbolNamesTest<'tcx> {
         self.process_attrs(item.hir_id);
     }
 
-    fn visit_trait_item(&mut self, trait_item: &'tcx hir::TraitItem) {
+    fn visit_trait_item(&mut self, trait_item: &'tcx hir::TraitItem<'tcx>) {
         self.process_attrs(trait_item.hir_id);
     }