Skip to content

Commit

Permalink
Rollup merge of #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 authored Mar 9, 2024
2 parents dc7a9f6 + 564837e commit 2894585
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 2894585

Please sign in to comment.