about summary refs log tree commit diff
path: root/compiler/rustc_hir_analysis/src/structured_errors.rs
diff options
context:
space:
mode:
authorEsteban Küber <esteban@kuber.com.ar>2024-01-23 18:24:40 +0000
committerEsteban Küber <esteban@kuber.com.ar>2024-01-29 18:33:52 +0000
commit09f16b596dce8f584ac070127a07f8fc6775ab30 (patch)
tree2fdd3b9739f0129d8330fe4f7883763ba4e45d4b /compiler/rustc_hir_analysis/src/structured_errors.rs
parentfb4bca04fa1bde2f7db1b31a59e066f7bebd7fc6 (diff)
downloadrust-09f16b596dce8f584ac070127a07f8fc6775ab30.tar.gz
rust-09f16b596dce8f584ac070127a07f8fc6775ab30.zip
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_hir_analysis/src/structured_errors.rs')
0 files changed, 0 insertions, 0 deletions