diff options
| author | bors <bors@rust-lang.org> | 2024-04-29 21:30:38 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-04-29 21:30:38 +0000 |
| commit | 70e74b11daca702649cae80969c0bc14de24ae3c (patch) | |
| tree | d60217ebd108d47609cdede386899d79c7614e29 /compiler/rustc_codegen_gcc | |
| parent | 9e02abec3eb868bc61801b9f6439fde7b2499d22 (diff) | |
| parent | 71db2d14510d82c2499cf0621279389c7e0f92ec (diff) | |
| download | rust-70e74b11daca702649cae80969c0bc14de24ae3c.tar.gz rust-70e74b11daca702649cae80969c0bc14de24ae3c.zip | |
Auto merge of #12736 - UlazkaMateusz:fix-type_complexity_duplicate_errors, r=xFrednet
[`type_complexity`]: Fix duplicate errors
Relates to #12379
Following message was duplicated:
```
LL | fn def_method(&self, p: Vec<Vec<Box<(u32, u32, u32, u32)>>>) {}
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
error: very complex type used. Consider factoring parts into `type` definitions
--> tests/ui/type_complexity.rs:55:15
```
Methods `check_trait_item` and `check_fn` were both checking method named def_method.
Now `check_trait_item` only checks methods without body.
---
changelog: [`type_complexity`]: Fix duplicate diagnostics
Diffstat (limited to 'compiler/rustc_codegen_gcc')
0 files changed, 0 insertions, 0 deletions
