mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 12:54:58 +00:00
Auto merge of #14577 - jsoref:spelling, r=lnicola
Spelling This PR corrects misspellings identified by the [check-spelling action](https://github.com/marketplace/actions/check-spelling). The misspellings have been reported at4699991040 (summary-12751355796)
The action reports that the changes in this PR would make it happy:4699991284 (summary-12751356293)
closes #14567
This commit is contained in:
commit
2400b36a2e
83 changed files with 137 additions and 136 deletions
|
@ -368,7 +368,7 @@ fn main() {
|
|||
#[test]
|
||||
fn mutation_in_dead_code() {
|
||||
// This one is interesting. Dead code is not represented at all in the MIR, so
|
||||
// there would be no mutablility error for locals in dead code. Rustc tries to
|
||||
// there would be no mutability error for locals in dead code. Rustc tries to
|
||||
// not emit `unused_mut` in this case, but since it works without `mut`, and
|
||||
// special casing it is not trivial, we emit it.
|
||||
check_diagnostics(
|
||||
|
@ -773,7 +773,7 @@ fn fn_once(mut x: impl FnOnce(u8) -> u8) -> u8 {
|
|||
|
||||
#[test]
|
||||
fn closure() {
|
||||
// FIXME: Diagnositc spans are too large
|
||||
// FIXME: Diagnostic spans are too large
|
||||
check_diagnostics(
|
||||
r#"
|
||||
//- minicore: copy, fn
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue