From 564837e23d9293edddb3d7a997667a6c6796fb2b Mon Sep 17 00:00:00 2001 From: Jason Newcomb Date: Fri, 8 Mar 2024 23:20:29 -0500 Subject: [PATCH] Fix typo in `VisitorResult` --- compiler/rustc_ast_ir/src/visit.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/rustc_ast_ir/src/visit.rs b/compiler/rustc_ast_ir/src/visit.rs index dec9f7a47d0..f6d6bf3a3e3 100644 --- a/compiler/rustc_ast_ir/src/visit.rs +++ b/compiler/rustc_ast_ir/src/visit.rs @@ -14,7 +14,7 @@ impl VisitorResult for () { type Residual = !; #[cfg(not(feature = "nightly"))] - type Residual = core::ops::Infallible; + type Residual = core::convert::Infallible; fn output() -> Self {} fn from_residual(_: Self::Residual) -> Self {}