about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/check_unsafety.rs
AgeCommit message (Expand)AuthorLines
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
2022-08-02update commentRalf Jung-3/+0
2022-08-02remove some unused code and typesRalf Jung-49/+15
2022-08-02never consider unsafe blocks unused if they would be required with unsafe_op_...Ralf Jung-27/+10
2022-07-31Rollup merge of #99186 - camsteffen:closure-localdefid, r=cjgillotDylan DPC-1/+1
2022-07-30Use LocalDefId for closures moreCameron Steffen-1/+1
2022-07-29Change maybe_body_owned_by to take local def idMiguel Guarniz-3/+3
2022-07-17use body's param-env when checking if type needs dropMichael Goulet-5/+2
2022-07-13assigning to a union field can never drop nowRalf Jung-15/+8
2022-05-09reviewlcnr-6/+2
2022-05-09only compute `codegen_fn_attrs` where neededlcnr-1/+6
2022-04-26Revert "add `DefId` to unsafety violations and display function path in E0133"Oli Scherer-5/+4
2022-04-24only show a simple description in E0133 span labelEmil Gardström-1/+1
2022-04-24add `DefId` to unsafety violations and display function path in E0133Emil Gardström-4/+7
2022-04-13couple of clippy::complexity fixesMatthias Krüger-2/+2
2022-04-11Add new `Deinit` statement kindJakob Degen-0/+1
2022-03-30Spellchecking compiler commentsYuri Astrakhan-1/+1
2022-03-20Filter OnceNote in diagnostic infra.Camille GILLOT-1/+0
2022-03-16resolve the conflict in compiler/rustc_session/src/parse.rscodehorseman-1/+1
2022-03-11Improve `AdtDef` interning.Nicholas Nethercote-1/+1
2022-03-08add `#[rustc_pass_by_value]` to more typeslcnr-3/+6
2022-02-20Improve `unused_unsafe` lintFrank Steffahn-116/+178
2022-02-19Adopt let else in more placesest31-6/+3
2022-01-17Auto merge of #90986 - camsteffen:nested-filter, r=cjgillotbors-6/+0
2022-01-16Replace NestedVisitorMap with NestedFilterCameron Steffen-6/+0