diff options
| author | Dylan DPC <99973273+Dylan-DPC@users.noreply.github.com> | 2022-11-22 16:36:36 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-11-22 16:36:36 +0530 |
| commit | 680ba90f9698741dab669c8151acb8d022d06617 (patch) | |
| tree | 430945ced3e669e3d57f16eee0b9161b55cc7b02 /compiler/rustc_codegen_gcc/src/errors.rs | |
| parent | a78c9bee4d9d51a3891bd8ecae1f28a93b83653b (diff) | |
| parent | df5f247a5c5432fc85a84cafb8461fafd01cf6ae (diff) | |
| download | rust-680ba90f9698741dab669c8151acb8d022d06617.tar.gz rust-680ba90f9698741dab669c8151acb8d022d06617.zip | |
Rollup merge of #104295 - compiler-errors:rpitit-generics-parity, r=eholk
Check generics parity before collecting return-position `impl Trait`s in trait The only thing is that this duplicates the error message for number of generics mismatch, but we already deduplicate that error message in Cargo. I could add a flag to delay the error if the reviewer cares. Fixes #104281 Also drive-by adds a few comments to the `collect_trait_impl_trait_tys` method, and removes an unused argument from `compare_number_of_generics`.
Diffstat (limited to 'compiler/rustc_codegen_gcc/src/errors.rs')
0 files changed, 0 insertions, 0 deletions
