1
Fork 0

Rename take_trait_map.

This commit is contained in:
Camille GILLOT 2021-05-29 23:10:04 +02:00
parent c11691b460
commit 0839cd5e9a
2 changed files with 3 additions and 3 deletions

View file

@ -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);