diff --git a/compiler/rustc_middle/src/mir/interpret/error.rs b/compiler/rustc_middle/src/mir/interpret/error.rs index ae0dbad8b08..bd9cd53e115 100644 --- a/compiler/rustc_middle/src/mir/interpret/error.rs +++ b/compiler/rustc_middle/src/mir/interpret/error.rs @@ -144,7 +144,7 @@ impl fmt::Display for InvalidProgramInfo<'_> { AlreadyReported(ErrorGuaranteed { .. }) => { write!( f, - "an error has already been reported elsewhere (this sould not usually be printed)" + "an error has already been reported elsewhere (this should not usually be printed)" ) } Layout(ref err) => write!(f, "{err}"),