rust/compiler/rustc_borrowck/src
许杰友 Jieyou Xu (Joe) bd0e768fff
Rollup merge of #142079 - lcnr:opaque-types-universes, r=BoxyUwU
nll-relate: improve hr opaque types support

This should currently not be user-facing outside of diagnostics as even if we successfully relate the opaque types, we don't support opaque types with non-param arguments and also require all member regions to be equal to the arguments or `'static`. This means there's no way to end up with a placeholder in the hidden type.

r? types
2025-08-19 19:42:02 +08:00
..
constraints Move placeholder handling to a proper preprocessing step 2025-06-03 12:20:15 +02:00
diagnostics Rollup merge of #145041 - lcnr:borrowck-limitations-error, r=BoxyUwU 2025-08-19 14:18:22 +10:00
polonius Rollup merge of #145111 - fee1-dead-contrib:push-rlvnyrztlkpq, r=jieyouxu 2025-08-11 16:19:05 +02:00
region_infer Auto merge of #142071 - lcnr:revealing-use, r=compiler-errors 2025-08-15 18:52:12 +00:00
type_check nll-relate: improve hr opaque types support 2025-08-18 09:09:42 +02:00
borrow_set.rs rename BitSet to DenseBitSet 2025-01-11 11:34:01 +00:00
borrowck_errors.rs Use closure parse code 2025-03-06 17:58:32 -03:00
consumers.rs Expose nested bodies in rustc_borrowck::consumers 2025-07-08 19:09:14 -07:00
dataflow.rs use MixedBitSet for borrows-in-scope computation 2025-06-13 18:01:32 +00:00
def_use.rs Visit place in BackwardIncompatibleDropHint statement 2025-04-13 22:01:54 +00:00
handle_placeholders.rs Auto merge of #142071 - lcnr:revealing-use, r=compiler-errors 2025-08-15 18:52:12 +00:00
lib.rs borrowck: defer opaque type errors 2025-08-08 19:24:53 +02:00
member_constraints.rs Greatly simplify lifetime captures in edition 2024 2025-02-22 22:24:52 +00:00
nll.rs borrowck: defer opaque type errors 2025-08-08 19:24:53 +02:00
path_utils.rs remove borrowck duplicate of std::ops::ControlFlow 2025-01-01 12:13:33 +00:00
place_ext.rs Remove #[macro_use] extern crate tracing from rustc_borrowck. 2024-08-30 17:14:53 +10:00
places_conflict.rs Implement MIR, CTFE, and codegen for unsafe binders 2025-01-31 17:19:53 +00:00
prefixes.rs Implement MIR, CTFE, and codegen for unsafe binders 2025-01-31 17:19:53 +00:00
renumber.rs remove from_forall 2025-08-11 09:18:46 +02:00
root_cx.rs Expose nested bodies in rustc_borrowck::consumers 2025-07-08 19:09:14 -07:00
session_diagnostics.rs move check_opaque_type_parameter_valid 2025-04-03 11:13:10 +02:00
universal_regions.rs borrowck: move error tainting earlier 2025-08-08 19:16:03 +02:00
used_muts.rs Remove unnecessary lifetimes in dataflow structs. 2024-09-09 16:14:18 +10:00