about summary refs log tree commit diff
path: root/compiler/rustc_middle/src/mir/tcx.rs
AgeCommit message (Expand)AuthorLines
2025-02-19Remove `rustc_middle::mir::tcx` module.Nicholas Nethercote-416/+0
2025-02-15Don't project into `NonNull` when dropping a `Box`Scott McMurray-5/+9
2025-02-03Contracts core intrinsics.Felix S. Klock II-1/+2
2025-01-31Implement MIR, CTFE, and codegen for unsafe bindersMichael Goulet-0/+6
2025-01-28Represent the raw pointer for a array length check as a new kind of fake borrowMichael Goulet-2/+2
2025-01-18Revert "Auto merge of #134330 - scottmcm:no-more-rvalue-len, r=matthewjasper"Rémy Rakic-0/+1
2024-12-23Auto merge of #134465 - lcnr:type-verifier, r=compiler-errorsbors-18/+53
2024-12-22Delete `Rvalue::Len`Scott McMurray-1/+0
2024-12-18merge PlaceTy field_ty computationlcnr-18/+53
2024-10-19Get rid of const eval_* and try_eval_* helpersMichael Goulet-3/+4
2024-08-18rename AddressOf -> RawBorrow inside the compilerRalf Jung-1/+1
2024-07-29Reformat `use` declarations.Nicholas Nethercote-1/+2
2024-06-22Add a `pointee_metadata_ty_or_projection` helperScott McMurray-13/+1
2024-05-28Add an intrinsic for `ptr::metadata`Scott McMurray-1/+25
2024-05-23Remove `#[macro_use] extern crate tracing` from `rustc_middle`.Nicholas Nethercote-0/+1
2024-05-23Auto merge of #125359 - RalfJung:interpret-overflowing-ops, r=oli-obkbors-6/+11
2024-05-22clarify commentRalf Jung-0/+3
2024-05-22Stop using `to_hir_binop` in codegenScott McMurray-1/+1
2024-05-21interpret: make overflowing binops just normal binopsRalf Jung-6/+8
2024-05-17Remove `Rvalue::CheckedBinaryOp`Scott McMurray-6/+28
2024-05-09Make builtin_deref just return a TyMichael Goulet-7/+3
2024-04-29Remove `extern crate rustc_data_structures` from numerous crates.Nicholas Nethercote-1/+1
2024-04-23Rollup merge of #122598 - Nadrieril:full-derefpats, r=matthewjasperLeón Orell Valerian Liehr-1/+1
2024-04-21Add `AggregateKind::RawPtr` and enough support to compileScott McMurray-0/+1
2024-04-20Add a non-shallow fake borrowNadrieril-1/+1
2024-04-18Simplify `static_assert_size`s.Nicholas Nethercote-1/+1
2024-04-03Check `x86_64` size assertions on `aarch64`, tooZalathar-1/+1
2024-03-23Add+Use `mir::BinOp::Cmp`Scott McMurray-1/+7
2024-03-23refactor check_{lang,library}_ub: use a single intrinsic, put policy into lib...Ralf Jung-1/+1
2024-03-22Ty::new_ref and Ty::new_ptr stop using TypeAndMutMichael Goulet-2/+2
2024-03-08Distinguish between library and lang UB in assert_unsafe_preconditionBen Kimock-1/+1
2024-02-08Add a new debug_assertions instrinsic (compiler)Ben Kimock-0/+1
2024-02-06Add CoroutineClosure to TyKind, AggregateKind, UpvarArgsMichael Goulet-0/+3
2024-01-15large_assignments: Lint on specific large args passed to functionsMartin Nordholts-0/+12
2023-12-28Remove movability from TyKind::CoroutineMichael Goulet-3/+1
2023-12-10remove redundant importssurechen-2/+0
2023-11-22Rollup merge of #118147 - Nilstrieb:no-redundant-casts, r=WaffleLapkinMichael Goulet-3/+1
2023-11-21Fix some unnecessary castsNilstrieb-3/+1
2023-11-21Fix `clippy::needless_borrow` in the compilerNilstrieb-3/+3
2023-11-08rename `BorrowKind::Shallow` to `Fake`lcnr-1/+1
2023-10-20s/generator/coroutine/Oli Scherer-2/+2
2023-10-20s/Generator/Coroutine/Oli Scherer-1/+1
2023-10-02have better explanation for `relate_types`ouz-a-3/+7
2023-10-02subtyping_projectionsouz-a-0/+1
2023-09-21rename mir::Constant -> mir::ConstOperand, mir::ConstKind -> mir::ConstRalf Jung-1/+1
2023-07-14refactor(rustc_middle): Substs -> GenericArgMahdi Dibaiee-6/+6
2023-07-05Move `TyCtxt::mk_x` to `Ty::new_x` where applicableBoxy-11/+13
2023-06-20merge `BorrowKind::Unique` into `BorrowKind::Mut`Ziru Niu-5/+0
2023-06-19Promote unchecked_add/sub/mul/shl/shr to mir::BinOpScott McMurray-2/+16
2023-04-21offset_ofDrMeepster-1/+3