-
Notifications
You must be signed in to change notification settings - Fork 12.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
compiler: fix some typos #94482
compiler: fix some typos #94482
Conversation
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @davidtwco (or someone else) soon. Please see the contribution instructions for more information. |
r? @Dylan-DPC |
@bors r+ rollup |
📌 Commit eb2b944 has been approved by |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think I've spotted some typos nearby your fixes :')
@@ -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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
// these into hir when we lower thee where clauses), but this makes it quite difficult to | |
// these into hir when we lower the where clauses), but this makes it quite difficult to |
@@ -1992,7 +1992,7 @@ impl<'tcx> RegionInferenceContext<'tcx> { | |||
.find_map(|constraint| { | |||
if let ConstraintCategory::Predicate(predicate_span) = constraint.category { | |||
// We currentl'y doesn't store the `DefId` in the `ConstraintCategory` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
// We currentl'y doesn't store the `DefId` in the `ConstraintCategory` | |
// We currently don't store the `DefId` in the `ConstraintCategory` |
compiler: fix some typos
compiler: fix some typos
…askrgr Rollup of 9 pull requests Successful merges: - rust-lang#94464 (Suggest adding a new lifetime parameter when two elided lifetimes should match up for traits and impls.) - rust-lang#94476 (7 - Make more use of `let_chains`) - rust-lang#94478 (Fix panic when handling intra doc links generated from macro) - rust-lang#94482 (compiler: fix some typos) - rust-lang#94490 (Update books) - rust-lang#94496 (tests: accept llvm intrinsic in align-checking test) - rust-lang#94498 (9 - Make more use of `let_chains`) - rust-lang#94503 (Provide C FFI types via core::ffi, not just in std) - rust-lang#94513 (update Miri) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
No description provided.