1
Fork 0

Rollup merge of #110153 - DaniPopes:compiler-typos, r=Nilstrieb

Fix typos in compiler

I ran [`typos -w compiler`](https://github.com/crate-ci/typos) to fix typos in the `compiler` directory.

Refs #110150
This commit is contained in:
Matthias Krüger 2023-04-12 20:56:21 +02:00 committed by GitHub
commit 331e7c3659
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
70 changed files with 138 additions and 136 deletions

View file

@ -598,7 +598,7 @@ struct LateResolutionVisitor<'a, 'b, 'ast, 'tcx> {
/// The current set of local scopes for types and values.
ribs: PerNS<Vec<Rib<'a>>>,
/// Previous poped `rib`, only used for diagnostic.
/// Previous popped `rib`, only used for diagnostic.
last_block_rib: Option<Rib<'a>>,
/// The current set of local scopes, for labels.

View file

@ -1652,7 +1652,7 @@ impl<'a, 'tcx> Resolver<'a, 'tcx> {
misc2: AmbiguityErrorMisc::None,
};
if !self.matches_previous_ambiguity_error(&ambiguity_error) {
// avoid dumplicated span information to be emitt out
// avoid duplicated span information to be emitt out
self.ambiguity_errors.push(ambiguity_error);
}
}