Skip to content

Commit

Permalink
{ty:?} is weird syntax
Browse files Browse the repository at this point in the history
Co-authored-by: Oli Scherer <[email protected]>
  • Loading branch information
BoxyUwU and oli-obk authored Mar 30, 2023
1 parent 390246c commit d0c308c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/librustdoc/clean/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1671,8 +1671,7 @@ fn normalize<'tcx>(

assert!(
!ty.has_non_region_infer(),
"`ty`: {:?} has pre existing infer vars before `InferCtxt` creation",
ty
"`ty`: {ty:?} has pre existing infer vars before `InferCtxt` creation",
);

let infcx = cx.tcx.infer_ctxt().build();
Expand Down

0 comments on commit d0c308c

Please sign in to comment.