diff --git a/src/librustc/hir/lowering.rs b/src/librustc/hir/lowering.rs index afb5f23db5b83d0c7a089632163dc059d90837f6..23004d8035c64357a3d41ae6dc975a5042a9c62b 100644 --- a/src/librustc/hir/lowering.rs +++ b/src/librustc/hir/lowering.rs @@ -143,8 +143,13 @@ pub struct LoweringContext<'a> { } pub trait Resolver { - /// Resolve a hir path generated by the lowerer when expanding `for`, `if let`, etc. - fn resolve_hir_path(&mut self, path: &mut hir::Path, is_value: bool); + /// Resolve a path generated by the lowerer when expanding `for`, `if let`, etc. + fn resolve_hir_path( + &mut self, + path: &ast::Path, + args: Option