Skip to content

Commit

Permalink
Rename tcx.ensure() to tcx.ensure_ok()
Browse files Browse the repository at this point in the history
  • Loading branch information
Zalathar committed Feb 1, 2025
1 parent 9c8fe30 commit 64fcb00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clippy_lints/src/ctfe.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ impl<'tcx> LateLintPass<'tcx> for ClippyCtfe {
_: Span,
defid: LocalDefId,
) {
cx.tcx.ensure().mir_drops_elaborated_and_const_checked(defid); // Lint
cx.tcx.ensure_ok().mir_drops_elaborated_and_const_checked(defid); // Lint
}
}

0 comments on commit 64fcb00

Please sign in to comment.