rust/compiler/rustc_mir_build/src
Dylan DPC 549eeb077d
Rollup merge of #120390 - matthewjasper:inline-constant-pat-mir, r=davidtwco
Borrow check inline const patterns

Add type annotations to MIR so that borrowck can pass constraints from inline constants in patterns to the containing function.
Also enables some inline constant pattern tests that were fixed by the THIR unsafeck stabilization.

cc #76001
2024-01-29 12:56:53 +00:00
..
build Rollup merge of #120390 - matthewjasper:inline-constant-pat-mir, r=davidtwco 2024-01-29 12:56:53 +00:00
thir Stop using String for error codes. 2024-01-29 07:41:41 +11:00
check_unsafety.rs Rename TyCtxt::emit_spanned_lint as TyCtxt::emit_node_span_lint. 2024-01-23 08:09:05 +11:00
errors.rs Stop using String for error codes. 2024-01-29 07:41:41 +11:00
lib.rs Remove unused features 2024-01-25 14:01:33 +00:00
lints.rs Rename TyCtxt::emit_spanned_lint as TyCtxt::emit_node_span_lint. 2024-01-23 08:09:05 +11:00