compiler: fix some typos
This commit is contained in:
parent
4a56cbec59
commit
eb2b9441e7
7 changed files with 7 additions and 7 deletions
|
@ -1366,7 +1366,7 @@ impl<'hir> LoweringContext<'_, 'hir> {
|
|||
generics: &Generics,
|
||||
itctx: ImplTraitContext<'_, 'hir>,
|
||||
) -> GenericsCtor<'hir> {
|
||||
// Error if `?Trait` bounds in where clauses don't refer directly to type paramters.
|
||||
// Error if `?Trait` bounds in where clauses don't refer directly to type parameters.
|
||||
// Note: we used to clone these bounds directly onto the type parameter (and avoid lowering
|
||||
// these into hir when we lower thee where clauses), but this makes it quite difficult to
|
||||
// keep track of the Span info. Now, `add_implicitly_sized` in `AstConv` checks both param bounds and
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue