os-rust/compiler/rustc_borrowck/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
..
constraints Remove #[macro_use] extern crate tracing from rustc_borrowck. 2024-08-30 17:14:53 +10:00
diagnostics Make Ty::boxed_ty return an Option 2024-09-06 00:30:36 +03:00
polonius Remove #[macro_use] extern crate tracing from rustc_borrowck. 2024-08-30 17:14:53 +10:00
region_infer Rollup merge of #129767 - nnethercote:rm-extern-crate-tracing-4, r=jieyouxu 2024-08-31 14:46:11 +02:00
type_check Check unnormalized signature on pointer cast 2024-09-05 06:37:38 -04:00
util Add warn(unreachable_pub) to rustc_borrowck. 2024-08-16 08:46:57 +10:00
borrow_set.rs Remove #[macro_use] extern crate tracing from rustc_borrowck. 2024-08-30 17:14:53 +10:00
borrowck_errors.rs Rollup merge of #126013 - nnethercote:unreachable_pub, r=Urgau 2024-08-27 00:41:57 +02:00
consumers.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
dataflow.rs Remove #[macro_use] extern crate tracing from rustc_borrowck. 2024-08-30 17:14:53 +10:00
def_use.rs Rollup merge of #126013 - nnethercote:unreachable_pub, r=Urgau 2024-08-27 00:41:57 +02:00
facts.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
lib.rs propagate tainted_by_errors in MirBorrowckCtxt::emit_errors 2024-09-04 20:06:33 +02:00
location.rs Remove #[macro_use] extern crate tracing from rustc_borrowck. 2024-08-30 17:14:53 +10:00
member_constraints.rs Remove #[macro_use] extern crate tracing from rustc_borrowck. 2024-08-30 17:14:53 +10:00
nll.rs Rollup merge of #129767 - nnethercote:rm-extern-crate-tracing-4, r=jieyouxu 2024-08-31 14:46:11 +02:00
path_utils.rs Remove #[macro_use] extern crate tracing from rustc_borrowck. 2024-08-30 17:14:53 +10:00
place_ext.rs Remove #[macro_use] extern crate tracing from rustc_borrowck. 2024-08-30 17:14:53 +10:00
places_conflict.rs Remove #[macro_use] extern crate tracing from rustc_borrowck. 2024-08-30 17:14:53 +10:00
prefixes.rs Add warn(unreachable_pub) to rustc_borrowck. 2024-08-16 08:46:57 +10:00
renumber.rs Remove #[macro_use] extern crate tracing from rustc_borrowck. 2024-08-30 17:14:53 +10:00
session_diagnostics.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
universal_regions.rs fix ICE when asm_const and const_refs_to_static are combined 2024-09-04 20:06:38 +02:00
used_muts.rs Remove #[macro_use] extern crate tracing from rustc_borrowck. 2024-08-30 17:14:53 +10:00