diff options
| author | bors <bors@rust-lang.org> | 2024-01-29 19:43:09 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-01-29 19:43:09 +0000 |
| commit | af08c64e3800fd15f0afdb8651de8fa7dacc0026 (patch) | |
| tree | 2fdd3b9739f0129d8330fe4f7883763ba4e45d4b /compiler/rustc_pattern_analysis/src/constructor.rs | |
| parent | fb4bca04fa1bde2f7db1b31a59e066f7bebd7fc6 (diff) | |
| parent | 09f16b596dce8f584ac070127a07f8fc6775ab30 (diff) | |
| download | rust-af08c64e3800fd15f0afdb8651de8fa7dacc0026.tar.gz rust-af08c64e3800fd15f0afdb8651de8fa7dacc0026.zip | |
Auto merge of #120275 - estebank:issue-120241, r=fmease
Avoid ICE in trait without `dyn` lint Do not attempt to provide an accurate suggestion for `impl Trait` in bare trait types when linting. Instead, only do the object safety check when an E0782 is already going to be emitted in the 2021 edition. Fix #120241.
Diffstat (limited to 'compiler/rustc_pattern_analysis/src/constructor.rs')
0 files changed, 0 insertions, 0 deletions
