rust/compiler/rustc_ty_utils/src
Jubilee Young 17716be86e compiler: die immediately instead of handling unknown target codegen
We cannot produce anything useful if asked to compile unknown targets.
We should handle the error immediately at the point of discovery instead
of propagating it upward, and preferably in the simplest way: Die.

This allows cleaning up our "error-handling" spread across 5 crates.
2025-02-10 11:04:31 -08:00
..
layout make no-variant types a dedicated Variants variant 2024-12-18 11:01:54 +01:00
abi.rs compiler: die immediately instead of handling unknown target codegen 2025-02-10 11:04:31 -08:00
assoc.rs Split hir TyKind and ConstArgKind in two and update hir::Visitor 2025-01-23 06:01:36 +00:00
common_traits.rs move fn is_item_raw to TypingEnv 2024-11-19 18:06:20 +01:00
consts.rs Remove 'pat lifetime from some match-lowering data structures 2025-02-03 16:20:53 +11:00
errors.rs Add warn(unreachable_pub) to rustc_ty_utils. 2024-09-03 08:50:33 +10:00
implied_bounds.rs Rustfmt 2025-02-08 22:12:13 +00:00
instance.rs Rename tcx.ensure() to tcx.ensure_ok() 2025-02-01 12:38:54 +11:00
layout.rs Rustfmt 2025-02-08 22:12:13 +00:00
lib.rs compiler: pre-move code for fixing enum layout ICEs 2024-10-20 02:09:22 -07:00
needs_drop.rs Begin to implement type system layer of unsafe binders 2024-12-22 21:57:57 +00:00
opaque_types.rs Encode cross-crate opaque type origin 2024-10-31 01:35:13 +00:00
representability.rs rename BitSet to DenseBitSet 2025-01-11 11:34:01 +00:00
sig_types.rs nit: Make get_infer_ret_ty name more consistent with is_suggestable_infer_ty 2025-01-02 23:39:16 +00:00
structural_match.rs TypingMode 🤔 2024-10-29 17:01:24 +01:00
ty.rs rename BitSet to DenseBitSet 2025-01-11 11:34:01 +00:00