Files
rust/compiler
Yuki Okushi aa71be1b39 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
2022-06-14 07:47:25 +09:00
..
2022-06-03 17:16:41 -04:00
2022-06-10 08:35:03 +10:00
2022-06-02 11:22:16 +10:00
2022-06-10 08:35:03 +10:00
2022-06-03 17:16:41 -04:00
2022-06-11 16:38:48 -07:00
2022-06-10 11:58:29 +10:00
2022-05-26 13:14:24 +02:00
2022-06-08 09:24:03 +10:00
2022-06-03 17:16:41 -04:00
2022-06-08 09:24:03 +10:00
2022-06-10 11:58:29 +10:00
2022-06-10 11:58:29 +10:00
2022-06-03 17:16:41 -04:00
2022-06-10 11:58:29 +10:00
2022-06-02 10:29:00 +00:00
2022-06-03 17:16:41 -04:00
2022-06-08 09:24:03 +10:00
2022-06-10 08:35:03 +10:00