mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-21 22:34:05 +00:00
Fix typo in VisitorResult
This commit is contained in:
parent
a655e648a9
commit
564837e23d
@ -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 {}
|
||||
|
Loading…
Reference in New Issue
Block a user