Skip to content

Commit

Permalink
Rollup merge of rust-lang#122223 - Jarcho:visit_fix, r=oli-obk
Browse files Browse the repository at this point in the history
Fix typo in `VisitorResult`

r? ``@oli-obk``
  • Loading branch information
matthiaskrgr committed Mar 9, 2024
2 parents ad76f1b + 564837e commit 23898d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_ast_ir/src/visit.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {}
Expand Down

0 comments on commit 23898d8

Please sign in to comment.