Skip to content

Commit

Permalink
reinstate track_caller removal comment
Browse files Browse the repository at this point in the history
  • Loading branch information
oli-obk authored Nov 2, 2023
1 parent 333aab4 commit cd56d91
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions compiler/rustc_hir_analysis/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ pub fn provide(providers: &mut Providers) {
hir_wf_check::provide(providers);
}

// FIXME(matthewjasper) We shouldn't need to use `track_errors` in this function.
pub fn check_crate(tcx: TyCtxt<'_>) -> Result<(), ErrorGuaranteed> {
let _prof_timer = tcx.sess.timer("type_check_crate");

Expand Down

0 comments on commit cd56d91

Please sign in to comment.