rust/compiler/rustc_hir_analysis/src
bors 6ee4265ca6 Auto merge of #104455 - the8472:dont-drain-on-drop, r=Amanieu
Don't drain-on-drop in DrainFilter impls of various collections.

This removes drain-on-drop behavior from various unstable DrainFilter impls (not yet for HashSet/Map) because that behavior [is problematic](https://github.com/rust-lang/rust/issues/43244#issuecomment-641638196) (because it can lead to panic-in-drop when user closures panic) and may become forbidden if [this draft RFC passes](https://github.com/rust-lang/rfcs/pull/3288).

closes #101122

[ACP](https://github.com/rust-lang/libs-team/issues/136)

affected tracking issues
* #43244
* #70530
* #59618

Related hashbrown update: https://github.com/rust-lang/hashbrown/pull/374
2023-06-15 00:03:10 +00:00
..
astconv iat selection: normalize self ty & completely erase bound vars 2023-06-11 00:19:47 +02:00
check Error on unconstrained lifetime in RPITIT 2023-06-14 05:20:31 +00:00
coherence Rollup merge of #111648 - Nilstrieb:language-items, r=WaffleLapkin 2023-05-17 11:13:56 +05:30
collect properly check associated consts for infer placeholders 2023-06-11 00:27:03 +00:00
impl_wf_check Report nicer lifetime errors for specialization 2023-05-05 22:19:56 +01:00
outlives No more TyCtxt::lazy_normalization 2023-06-02 22:07:57 +00:00
structured_errors Use Option::is_some_and and Result::is_ok_and in the compiler 2023-05-24 14:20:41 +00:00
variance Move expansion of query macros in rustc_middle to rustc_middle::query 2023-05-15 08:49:13 +02:00
autoderef.rs Make TraitEngine::new use the right solver, add compare mode 2023-06-06 18:43:20 +00:00
bounds.rs Auto merge of #110806 - WaffleLapkin:unmkI, r=lcnr 2023-05-04 05:54:09 +00:00
check_unused.rs Remove last instances of HashSet in query result types. 2023-03-01 10:20:45 +01:00
collect.rs properly check associated consts for infer placeholders 2023-06-11 00:27:03 +00:00
constrained_generic_params.rs IAT: Introduce AliasKind::Inherent 2023-05-04 16:59:10 +02:00
errors.rs Emit an error when RTN is used with ty/ct params 2023-06-05 19:52:04 +00:00
hir_wf_check.rs Move expansion of query macros in rustc_middle to rustc_middle::query 2023-05-15 08:49:13 +02:00
impl_wf_check.rs Error on unconstrained lifetime in RPITIT 2023-06-14 05:20:31 +00:00
lib.rs remove hash_drain_filter feature uses 2023-06-14 09:28:56 +02:00
structured_errors.rs