Cleanup lower_generics_mut and make span be the bound itself, not the type

This commit is contained in:
jackh726 2021-09-28 17:15:28 -04:00
parent 2c7bc5e33c
commit e1a9ecca26
4 changed files with 50 additions and 37 deletions

View file

@ -1132,7 +1132,7 @@ impl ResolverAstLowering for Resolver<'_> {
self.legacy_const_generic_args(expr)
}
fn get_partial_res(&mut self, id: NodeId) -> Option<PartialRes> {
fn get_partial_res(&self, id: NodeId) -> Option<PartialRes> {
self.partial_res_map.get(&id).cloned()
}