Skip to content

Commit 64fcb00

Browse files
committed
Rename tcx.ensure() to tcx.ensure_ok()
1 parent 9c8fe30 commit 64fcb00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: clippy_lints/src/ctfe.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@ impl<'tcx> LateLintPass<'tcx> for ClippyCtfe {
2121
_: Span,
2222
defid: LocalDefId,
2323
) {
24-
cx.tcx.ensure().mir_drops_elaborated_and_const_checked(defid); // Lint
24+
cx.tcx.ensure_ok().mir_drops_elaborated_and_const_checked(defid); // Lint
2525
}
2626
}

0 commit comments

Comments
 (0)