Cleanup lower_generics_mut and make span be the bound itself, not the type
This commit is contained in:
parent
2c7bc5e33c
commit
e1a9ecca26
4 changed files with 50 additions and 37 deletions
|
@ -172,7 +172,7 @@ pub trait ResolverAstLowering {
|
|||
fn legacy_const_generic_args(&mut self, expr: &Expr) -> Option<Vec<usize>>;
|
||||
|
||||
/// Obtains resolution for a `NodeId` with a single resolution.
|
||||
fn get_partial_res(&mut self, id: NodeId) -> Option<PartialRes>;
|
||||
fn get_partial_res(&self, id: NodeId) -> Option<PartialRes>;
|
||||
|
||||
/// Obtains per-namespace resolutions for `use` statement with the given `NodeId`.
|
||||
fn get_import_res(&mut self, id: NodeId) -> PerNS<Option<Res<NodeId>>>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue