rust/compiler/rustc_middle/src
Matthias Krüger 0180b8fff0
Rollup merge of #129969 - GrigorenkoPV:boxed-ty, r=compiler-errors
Make `Ty::boxed_ty` return an `Option`

Looks like a good place to use Rust's type system.

---

Most of 4ac7bcbaad/compiler/rustc_middle/src/ty/sty.rs (L971-L1963) looks like it could be moved to `TyKind` (then I guess  `Ty` should be made to deref to `TyKind`).
2024-09-06 07:33:58 +02:00
..
dep_graph Add warn(unreachable_pub) to rustc_middle. 2024-08-29 20:13:06 +10:00
hir Stop using a special inner body for the coroutine by-move body for async closures 2024-08-26 18:44:19 -04:00
hooks Reformat use declarations. 2024-07-29 08:26:52 +10:00
infer Reformat use declarations. 2024-07-29 08:26:52 +10:00
middle Revert "Auto merge of #127537 - veluca93:struct_tf, r=BoxyUwU" 2024-09-01 16:35:53 +02:00
mir Auto merge of #129999 - matthiaskrgr:rollup-pzr9c8p, r=matthiaskrgr 2024-09-06 03:06:52 +00:00
query Rollup merge of #101339 - the8472:ci-randomize-debug, r=Mark-Simulacrum 2024-09-05 03:47:39 +02:00
thir rename AddressOf -> RawBorrow inside the compiler 2024-08-18 19:46:53 +02:00
traits Detect * operator on !Sized expression 2024-08-08 17:35:40 +00:00
ty Rollup merge of #129969 - GrigorenkoPV:boxed-ty, r=compiler-errors 2024-09-06 07:33:58 +02:00
util Move MirPass to rustc_mir_transform. 2024-09-03 16:03:46 +10:00
arena.rs coverage: CodeRegion is never stored in an arena 2024-08-28 22:03:48 +10:00
error.rs Use bool in favor of Option<()> for diagnostics 2024-08-21 01:31:11 -04:00
lib.rs Add warn(unreachable_pub) to rustc_middle. 2024-08-29 20:13:06 +10:00
lint.rs Rewrite lint_expectations in a single pass. 2024-08-31 14:00:54 +00:00
macros.rs lift_to_tcx -> lift_to_interner 2024-07-17 10:46:10 -04:00
metadata.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
tests.rs Give an item related to issue 27438 a more meaningful name 2024-04-30 22:27:19 +02:00
thir.rs rename AddressOf -> RawBorrow inside the compiler 2024-08-18 19:46:53 +02:00
values.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00