Remove unused hir_id
parameter from resolve_type
This commit is contained in:
parent
6a84d34784
commit
c2207f5a48
2 changed files with 7 additions and 7 deletions
|
@ -407,8 +407,8 @@ crate fn print_const_expr(tcx: TyCtxt<'_>, body: hir::BodyId) -> String {
|
|||
}
|
||||
|
||||
/// Given a type Path, resolve it to a Type using the TyCtxt
|
||||
crate fn resolve_type(cx: &mut DocContext<'_>, path: Path, id: hir::HirId) -> Type {
|
||||
debug!("resolve_type({:?},{:?})", path, id);
|
||||
crate fn resolve_type(cx: &mut DocContext<'_>, path: Path) -> Type {
|
||||
debug!("resolve_type({:?})", path);
|
||||
|
||||
let is_generic = match path.res {
|
||||
Res::PrimTy(p) => return Primitive(PrimitiveType::from(p)),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue