fix some typos
This commit is contained in:
parent
b1ab3b738a
commit
62a2a1d257
7 changed files with 6 additions and 6 deletions
|
@ -264,7 +264,7 @@ fn project_and_unify_type<'cx, 'tcx>(
|
|||
};
|
||||
debug!(?normalized, ?obligations, "project_and_unify_type result");
|
||||
let actual = obligation.predicate.term;
|
||||
// For an example where this is neccessary see src/test/ui/impl-trait/nested-return-type2.rs
|
||||
// For an example where this is necessary see src/test/ui/impl-trait/nested-return-type2.rs
|
||||
// This allows users to omit re-mentioning all bounds on an associated type and just use an
|
||||
// `impl Trait` for the assoc type to add more bounds.
|
||||
let InferOk { value: actual, obligations: new } =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue