about summary refs log tree commit diff
path: root/compiler/rustc_resolve
diff options
context:
space:
mode:
authorCamille GILLOT <gillot.camille@gmail.com>2021-05-29 23:10:04 +0200
committerCamille GILLOT <gillot.camille@gmail.com>2021-06-01 20:53:04 +0200
commit0839cd5e9ae41acf3694c01fd2a831c9019206ea (patch)
tree4df1bcf8037a6544747f6c9a92a11b565d5e9acd /compiler/rustc_resolve
parentc11691b46041fa08b76d556277d17f3e531a4025 (diff)
downloadrust-0839cd5e9ae41acf3694c01fd2a831c9019206ea.tar.gz
rust-0839cd5e9ae41acf3694c01fd2a831c9019206ea.zip
Rename take_trait_map.
Diffstat (limited to 'compiler/rustc_resolve')
-rw-r--r--compiler/rustc_resolve/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_resolve/src/lib.rs b/compiler/rustc_resolve/src/lib.rs
index e181b30f0e3..5e009d14832 100644
--- a/compiler/rustc_resolve/src/lib.rs
+++ b/compiler/rustc_resolve/src/lib.rs
@@ -1140,7 +1140,7 @@ impl ResolverAstLowering for Resolver<'_> {
         self.next_node_id()
     }
 
-    fn trait_map(&mut self) -> NodeMap<Vec<TraitCandidate>> {
+    fn take_trait_map(&mut self) -> NodeMap<Vec<TraitCandidate>> {
         #[cfg(debug_assertions)]
         {
             debug_assert!(!self.took_trait_map);