diff options
| author | Yuki Okushi <huyuumi.dev@gmail.com> | 2021-02-12 19:32:12 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-02-12 19:32:12 +0900 |
| commit | 0b7fc80e45294db1374b06aa8e56e55612797cf2 (patch) | |
| tree | 3f19b3b29908eaf5e83cbfce7457dd1e526c6289 | |
| parent | 67403da1ebefa360a4a2309d3ec92b56c8471362 (diff) | |
| parent | a6d413715c2b0439ab27cb69a757377f1c8c397a (diff) | |
| download | rust-0b7fc80e45294db1374b06aa8e56e55612797cf2.tar.gz rust-0b7fc80e45294db1374b06aa8e56e55612797cf2.zip | |
Rollup merge of #81959 - therealprof:fix-typo, r=oli-obk
Fix assosiated typo Introduced in d3c4dbd85d63c8bdfa362d7cac8b3e8cbca51272, noticed only after the fact, sorry. 😅 Signed-off-by: Daniel Egger <daniel@eggers-club.de>
| -rw-r--r-- | compiler/rustc_mir/src/borrow_check/diagnostics/mutability_errors.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_mir/src/borrow_check/diagnostics/mutability_errors.rs b/compiler/rustc_mir/src/borrow_check/diagnostics/mutability_errors.rs index 0467bf76afe..98450f5a547 100644 --- a/compiler/rustc_mir/src/borrow_check/diagnostics/mutability_errors.rs +++ b/compiler/rustc_mir/src/borrow_check/diagnostics/mutability_errors.rs @@ -540,7 +540,7 @@ impl<'a, 'tcx> MirBorrowckCtxt<'a, 'tcx> { ); } - // Attempt to search similar mutable assosiated items for suggestion. + // Attempt to search similar mutable associated items for suggestion. // In the future, attempt in all path but initially for RHS of for_loop fn suggest_similar_mut_method_for_for_loop(&self, err: &mut DiagnosticBuilder<'_>) { let hir = self.infcx.tcx.hir(); |
