about summary refs log tree commit diff
path: root/compiler/rustc_pattern_analysis/src/constructor.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-01-29 19:43:09 +0000
committerbors <bors@rust-lang.org>2024-01-29 19:43:09 +0000
commitaf08c64e3800fd15f0afdb8651de8fa7dacc0026 (patch)
tree2fdd3b9739f0129d8330fe4f7883763ba4e45d4b /compiler/rustc_pattern_analysis/src/constructor.rs
parentfb4bca04fa1bde2f7db1b31a59e066f7bebd7fc6 (diff)
parent09f16b596dce8f584ac070127a07f8fc6775ab30 (diff)
downloadrust-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