diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2024-03-09 16:21:19 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-03-09 16:21:19 +0100 |
| commit | 2894585f7e4ed03013560cbb4fc5303e32da7a69 (patch) | |
| tree | 40ef22a1e12d09b4d9b5f7f2772f9d8906da93f4 | |
| parent | dc7a9f6c7f373818120673ffa8ee5175e2c54fb0 (diff) | |
| parent | 564837e23d9293edddb3d7a997667a6c6796fb2b (diff) | |
| download | rust-2894585f7e4ed03013560cbb4fc5303e32da7a69.tar.gz rust-2894585f7e4ed03013560cbb4fc5303e32da7a69.zip | |
Rollup merge of #122223 - Jarcho:visit_fix, r=oli-obk
Fix typo in `VisitorResult` r? ```@oli-obk```
| -rw-r--r-- | compiler/rustc_ast_ir/src/visit.rs | 2 |
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 {} |
