about summary refs log tree commit diff
path: root/library/std/src/sys/unix/alloc.rs
diff options
context:
space:
mode:
authorYuki Okushi <jtitor@2k36.org>2022-06-14 07:47:25 +0900
committerGitHub <noreply@github.com>2022-06-14 07:47:25 +0900
commitaa71be1b39d7b672414c622093e906e81aa06351 (patch)
treeb72fb84b835e64cc9e6de4c5fc71491b96711fb0 /library/std/src/sys/unix/alloc.rs
parent9688594d0040c7e80e3efe6efa5a0c4d155ba5ce (diff)
parent344feef0cbff3f52e0c1238ba470977e7e2e6cf5 (diff)
downloadrust-aa71be1b39d7b672414c622093e906e81aa06351.tar.gz
rust-aa71be1b39d7b672414c622093e906e81aa06351.zip
Rollup merge of #97508 - JohnTitor:more-strict-placeholder-dyn-obj, r=pnkfelix
Harden bad placeholder checks on statics/consts

Resubmission of #89161
Fixes https://github.com/rust-lang/rust/issues/88643

In #83739, I added a check for trait objects on statics/consts but it wasn't robust. `is_suggestable_infer_ty` fn does a more strict check and finds more bad placeholders. See https://github.com/rust-lang/rust/pull/89161#issuecomment-934690300 for the more detailed explanation.

r? `@pnkfelix` as you're the reviewer of the previous PR
Diffstat (limited to 'library/std/src/sys/unix/alloc.rs')
0 files changed, 0 insertions, 0 deletions