Rollup merge of #122223 - Jarcho:visit_fix, r=oli-obk

Fix typo in `VisitorResult`

r? ```@oli-obk```
This commit is contained in:
Matthias Krüger 2024-03-09 16:21:19 +01:00 committed by GitHub
commit 2894585f7e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -14,7 +14,7 @@ impl VisitorResult for () {
type Residual = !; type Residual = !;
#[cfg(not(feature = "nightly"))] #[cfg(not(feature = "nightly"))]
type Residual = core::ops::Infallible; type Residual = core::convert::Infallible;
fn output() -> Self {} fn output() -> Self {}
fn from_residual(_: Self::Residual) -> Self {} fn from_residual(_: Self::Residual) -> Self {}