Rollup merge of #58167 - ljedrz:HirIdify_body_id, r=Zoxc
HirId-ify hir::BodyId Another step towards https://github.com/rust-lang/rust/pull/57578.
This commit is contained in:
commit
adb2bb6e61
35 changed files with 175 additions and 147 deletions
|
|
@ -3830,7 +3830,7 @@ fn print_const(cx: &DocContext, n: ty::LazyConst) -> String {
|
|||
}
|
||||
|
||||
fn print_const_expr(cx: &DocContext, body: hir::BodyId) -> String {
|
||||
cx.tcx.hir().node_to_pretty_string(body.node_id)
|
||||
cx.tcx.hir().hir_to_pretty_string(body.hir_id)
|
||||
}
|
||||
|
||||
/// Given a type Path, resolve it to a Type using the TyCtxt
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue