rust/compiler/rustc_hir_analysis/src
Celina G. Val 3feac59b79 Fix unreachable expression warning
Invert the order that we pass the arguments to the
`contract_check_ensures` function to avoid the warning when the tail
of the function is unreachable.

Note that the call itself is also unreachable, but we have already
handled that case by ignoring unreachable call for contract calls.
2025-04-08 10:46:31 -07:00
..
check Fix unreachable expression warning 2025-04-08 10:46:31 -07:00
coherence Decouple trait impls of different traits wrt incremental 2025-04-01 09:25:12 +00:00
collect Auto merge of #120706 - Bryanskiy:leak, r=lcnr 2025-04-04 01:35:52 +00:00
errors Remove the Option part of range ends in the HIR 2025-03-06 10:47:40 +00:00
hir_ty_lowering Auto merge of #120706 - Bryanskiy:leak, r=lcnr 2025-04-04 01:35:52 +00:00
impl_wf_check Fix a comment typo. 2025-01-31 08:28:14 +11:00
outlives Move methods from Map to TyCtxt, part 5. 2025-04-02 10:00:46 +11:00
variance Remove the Option part of range ends in the HIR 2025-03-06 10:47:40 +00:00
autoderef.rs Rename structurally_normalize to structurally_normalize_ty 2025-01-22 07:04:53 +00:00
check_unused.rs Move methods from Map to TyCtxt, part 4. 2025-03-12 08:55:37 +11:00
collect.rs Move hir::Item::ident into hir::ItemKind. 2025-03-18 06:29:50 +11:00
constrained_generic_params.rs Stop relying on rustc_type_ir in non-type-system crates 2025-03-15 06:42:48 +00:00
delegation.rs Stop relying on rustc_type_ir in non-type-system crates 2025-03-15 06:42:48 +00:00
errors.rs Implement #[define_opaque] attribute for functions. 2025-03-11 12:05:02 +00:00
hir_wf_check.rs Move methods from Map to TyCtxt, part 5. 2025-04-02 10:00:46 +11:00
impl_wf_check.rs Rename tcx.ensure() to tcx.ensure_ok() 2025-02-01 12:38:54 +11:00
lib.rs Add RTN support to rustdoc 2025-03-15 18:13:27 +00:00