-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
fix: explain E0120 better cover cases when its raised #127949
Conversation
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @lcnr (or someone else) some time within the next two weeks. Please see the contribution instructions for more information. Namely, in order to ensure the minimum review times lag, PR authors and assigned reviewers should ensure that the review label (
|
Thanks for the PR! While you're touching this file, mind updating the last example? rust/compiler/rustc_error_codes/src/error_codes/E0120.md Lines 27 to 33 in 3d68afc
Few changes there:
|
@rustbot author |
Also you can add "Fixes #98996" to your PR description to automatically close that when this gets merged. |
Thanks! Add the backticks and squash into one commit please, then lgtm |
8fbc5cb
to
a6cb41a
Compare
This comment has been minimized.
This comment has been minimized.
a6cb41a
to
3d3f23f
Compare
And tidy failed, so these lines need a rewrap lol https://github.com/rust-lang/rust/actions/runs/10005456061/job/27656226565?pr=127949#step:25:1676 (you can run |
3d3f23f
to
c091108
Compare
Some changes occurred in match lowering cc @Nadrieril
Some changes occurred in match checking cc @Nadrieril Some changes occurred in src/tools/clippy cc @rust-lang/clippy This PR modifies cc @jieyouxu Some changes occurred in exhaustiveness checking cc @Nadrieril Some changes occurred to the core trait solver cc @rust-lang/initiative-trait-system-refactor These commits modify the If this was unintentional then you should revert the changes before this PR is merged. These commits modify compiler targets. Some changes occurred to the CTFE / Miri engine cc @rust-lang/miri |
Woah, rebase gone wrong? |
@princess-entrapta the file itself looks good, but it seems like the git history got messed up. Maybe double check that |
Alrigrt, i check that now |
There are merge commits (commits with multiple parents) in your changes. We have a no merge policy so these commits will need to be removed for this pull request to be merged. You can start a rebase with the following commands:
The following commits are merge commits: |
a4e8ba0
to
8c3a94a
Compare
It took me some time, idk what i've done wrong with the rebases, but it should be good now |
…iaskrgr Rollup of 6 pull requests Successful merges: - rust-lang#127295 (CFI: Support provided methods on traits) - rust-lang#127814 (`C-cmse-nonsecure-call`: improved error messages) - rust-lang#127949 (fix: explain E0120 better cover cases when its raised) - rust-lang#127966 (Use structured suggestions for unconstrained generic parameters on impl blocks) - rust-lang#127976 (Lazy type aliases: Diagostics: Detect bivariant ty params that are only used recursively) - rust-lang#127978 (Avoid ref when using format! for perf) r? `@ghost` `@rustbot` modify labels: rollup
Rollup merge of rust-lang#127949 - princess-entrapta:master, r=tgross35 fix: explain E0120 better cover cases when its raised Fixes rust-lang#98996 Wording change on the explain of E0120 as requested
Fixes #98996
Wording change on the explain of E0120 as requested