about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-01-22 16:54:59 +0100
committerGitHub <noreply@github.com>2024-01-22 16:54:59 +0100
commit6e4933f94f9b06a7a5ab4ad3e39a0229e9f17023 (patch)
treef91a5f64bd773cbac5a9b7c34c43ee4d25eea93b /compiler/rustc_codegen_gcc
parenta12e2ff7b2e5b3adbaa010c507039ebcb41405c3 (diff)
parentb58a8a98cdee84a9636c08877f623b97033c7dda (diff)
downloadrust-6e4933f94f9b06a7a5ab4ad3e39a0229e9f17023.tar.gz
rust-6e4933f94f9b06a7a5ab4ad3e39a0229e9f17023.zip
Rollup merge of #120164 - trevyn:is_downgradable, r=compiler-errors
`maybe_lint_impl_trait`: separate `is_downgradable` from `is_object_safe`

https://github.com/rust-lang/rust/pull/119752 leveraged and overloaded `is_object_safe` to prevent an ICE, but accurate object safety information is needed for precise suggestions. This separates out `is_downgradable`, used for the ICE prevention, and `is_object_safe`, which returns to its original meaning.
Diffstat (limited to 'compiler/rustc_codegen_gcc')
0 files changed, 0 insertions, 0 deletions