diff options
| author | Ralf Jung <post@ralfj.de> | 2022-11-17 21:13:23 +0100 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2022-11-17 21:13:23 +0100 |
| commit | ff38c2891dd9ce782a91fa0f45d105309380e4c2 (patch) | |
| tree | 351de8b71ef09535f90ef51874420a4fd6338776 | |
| parent | b6097f2e1b2ca62e188ba53cf43bd66b06b36915 (diff) | |
| download | rust-ff38c2891dd9ce782a91fa0f45d105309380e4c2.tar.gz rust-ff38c2891dd9ce782a91fa0f45d105309380e4c2.zip | |
fix a typo
| -rw-r--r-- | compiler/rustc_middle/src/mir/interpret/error.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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}"), |
