about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/check_unsafety.rs
AgeCommit message (Expand)AuthorLines
2024-02-14Use fewer delayed bugs.Nicholas Nethercote-4/+5
2024-02-06Add CoroutineClosure to TyKind, AggregateKind, UpvarArgsMichael Goulet-1/+3
2024-01-23Rename `TyCtxt::emit_spanned_lint` as `TyCtxt::emit_node_span_lint`.Nicholas Nethercote-2/+2
2024-01-05Stabilize THIR unsafeckMatthew Jasper-5/+6
2023-12-28Remove movability from TyKind::CoroutineMichael Goulet-1/+1
2023-12-24Remove `Session` methods that duplicate `DiagCtxt` methods.Nicholas Nethercote-2/+2
2023-12-02Rename `HandlerInner::delay_span_bug` as `HandlerInner::span_delayed_bug`.Nicholas Nethercote-1/+1
2023-11-29Rollup merge of #118333 - eduardosm:print-missing-target-features, r=est31Matthias Krüger-7/+22
2023-11-27Address unused tuple struct fields in the compilerJake Goulding-3/+3
2023-11-27Print list of missing target features when calling a function with target fea...Eduardo Sánchez Muñoz-7/+22
2023-11-26rustc: `hir().local_def_id_to_hir_id()` -> `tcx.local_def_id_to_hir_id()` cle...Vadim Petrochenkov-2/+2
2023-11-21Fix `clippy::needless_borrow` in the compilerNilstrieb-1/+1
2023-10-20s/Generator/Coroutine/Oli Scherer-2/+2
2023-10-13Format all the let chains in compilerMichael Goulet-2/+1
2023-10-04Remove mir::LocalDecl::internal.Camille GILLOT-1/+1
2023-09-21rename mir::Constant -> mir::ConstOperand, mir::ConstKind -> mir::ConstRalf Jung-3/+3
2023-09-06fix #115348mojave2-1/+1
2023-08-24when terminating during unwinding, show the reason whyRalf Jung-1/+1
2023-08-20give some unwind-related terminators a more clear nameRalf Jung-2/+2
2023-07-14Introduce ExtentUnord trait for collections that can safely consume UnordItems.Michael Woerister-1/+1
2023-06-13Auto merge of #112017 - Nemo157:unsafe-block-rustfix, r=eholkbors-6/+25
2023-06-13Add note about unsafe functions body not being unsafeWim Looman-1/+6
2023-06-13Add MVP suggestion for `unsafe_op_in_unsafe_fn`Léo Lanteri Thauvin-6/+20
2023-06-02Separate AnonConst from ConstBlock in HIR.Camille GILLOT-4/+2
2023-05-15Move expansion of query macros in rustc_middle to rustc_middle::queryJohn Kåre Alsaker-1/+1
2023-05-02Migrate `mir_transform` to translatable diagnosticsclubby789-45/+23
2023-04-20Remove WithOptconstParam.Camille GILLOT-25/+7
2023-04-06Rename `Abort` terminator to `Terminate`Gary Guo-1/+1
2023-03-14Wrap the whole LocalInfo in ClearCrossCrate.Camille GILLOT-1/+1
2023-03-09Pacify tidy.Camille GILLOT-2/+2
2023-03-09Ignore AscribeUserType in unsafeck to avoid duplicate diagnostics.Camille GILLOT-1/+3
2023-03-09Introduce a no-op PlaceMention statement for `let _ =`.Camille GILLOT-0/+1
2023-03-08Rollup merge of #108856 - Zeegomo:remove-drop-and-rep, r=tmiaskoMatthias Krüger-1/+0
2023-03-07Remove DropAndReplace terminatorGiacomo Pasini-1/+0
2023-03-01Remove last instances of HashSet in query result types.Michael Woerister-12/+10
2023-02-02Put a DefId in AggregateKind.Camille GILLOT-0/+1
2023-01-29Auto merge of #106227 - bryangarza:ctfe-limit, r=oli-obkbors-0/+1
2023-01-28Take a LocalDefId in hir::Visitor::visit_fn.Camille GILLOT-1/+1
2023-01-23Create stable metric to measure long computation in Const EvalBryan Garza-0/+1
2022-12-20rustc: Remove needless lifetimesJeremy Stucki-3/+3
2022-12-14Fix unsafetyck disabling for custom MIRJakob Degen-1/+1
2022-12-13Allow unsafe through inline constGary Guo-3/+32
2022-11-08Add support for custom MIR parsingJakob Degen-0/+8
2022-11-04Formatting changes + add UI testclubby789-10/+9
2022-11-04Give a specific lint for unsafety not being inheritedclubby789-9/+35
2022-10-31Remove bounds check with enum castouz-a-3/+1
2022-10-27Accept `TyCtxt` instead of `TyCtxtAt` in `Ty::is_*` functionsMaybe Waffle-1/+1
2022-10-01Refactor rustc lint APIMaybe Waffle-15/+7
2022-09-06Generalize the Assume intrinsic statement to a general Intrinsic statementOli Scherer-3/+1
2022-09-06Lower the assume intrinsic to a MIR statementOli Scherer-0/+3