about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJason Newcomb <jsnewcomb@pm.me>2024-03-08 23:20:29 -0500
committerJason Newcomb <jsnewcomb@pm.me>2024-03-08 23:20:29 -0500
commit564837e23d9293edddb3d7a997667a6c6796fb2b (patch)
tree528d8ab86ae2c9d325b7d935a9ba3a98b0d730b5
parenta655e648a9f94d74263108366b83e677af56e35d (diff)
downloadrust-564837e23d9293edddb3d7a997667a6c6796fb2b.tar.gz
rust-564837e23d9293edddb3d7a997667a6c6796fb2b.zip
Fix typo in `VisitorResult`
-rw-r--r--compiler/rustc_ast_ir/src/visit.rs2
1 files changed, 1 insertions, 1 deletions
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 {}