We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
tcx.ensure()
tcx.ensure_ok()
1 parent 9c8fe30 commit 64fcb00Copy full SHA for 64fcb00
clippy_lints/src/ctfe.rs
@@ -21,6 +21,6 @@ impl<'tcx> LateLintPass<'tcx> for ClippyCtfe {
21
_: Span,
22
defid: LocalDefId,
23
) {
24
- cx.tcx.ensure().mir_drops_elaborated_and_const_checked(defid); // Lint
+ cx.tcx.ensure_ok().mir_drops_elaborated_and_const_checked(defid); // Lint
25
}
26
0 commit comments