rust/compiler/rustc_hir_analysis/src
Celina G. Val 2bb1464cb6 Improve contracts intrisics and remove wrapper function
1. Document the new intrinsics.
2. Make the intrinsics actually check the contract if enabled, and
   remove `contract::check_requires` function.
3. Use panic with no unwind in case contract is using to check for
   safety, we probably don't want to unwind. Following the same
   reasoning as UB checks.
2025-02-03 13:55:15 -08:00
..
check Improve contracts intrisics and remove wrapper function 2025-02-03 13:55:15 -08:00
coherence Rename tcx.ensure() to tcx.ensure_ok() 2025-02-01 12:38:54 +11:00
collect Auto merge of #136331 - jhpratt:rollup-curo1f4, r=jhpratt 2025-01-31 06:55:04 +00:00
errors Maintain a list of types permitted per pattern 2025-02-02 19:30:53 +00:00
hir_ty_lowering Maintain a list of types permitted per pattern 2025-02-02 19:30:53 +00:00
impl_wf_check Fix a comment typo. 2025-01-31 08:28:14 +11:00
outlives Remove an unnecessary loop label. 2025-01-31 08:28:28 +11:00
variance Remove xform submodule. 2025-01-31 08:28:28 +11:00
autoderef.rs Rename structurally_normalize to structurally_normalize_ty 2025-01-22 07:04:53 +00:00
bounds.rs Merge HostPolarity and BoundConstness 2024-10-30 16:23:16 +00:00
check_unused.rs Remove #[macro_use] extern crate tracing from rustc_hir_analysis. 2024-08-30 17:14:59 +10:00
collect.rs Rename tcx.ensure() to tcx.ensure_ok() 2025-02-01 12:38:54 +11:00
constrained_generic_params.rs Remove #[macro_use] extern crate tracing from rustc_hir_analysis. 2024-08-30 17:14:59 +10:00
delegation.rs Remove unnecessary builders. 2025-01-31 08:27:15 +11:00
errors.rs Use identifiers in diagnostics more often 2025-01-27 01:23:34 +00:00
hir_wf_check.rs visit_x_unambig 2025-01-23 06:01:36 +00:00
impl_wf_check.rs Rename tcx.ensure() to tcx.ensure_ok() 2025-02-01 12:38:54 +11:00
lib.rs Use an explicit type when discarding the result of tcx.ensure_ok() 2025-02-01 12:42:41 +11:00