about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/check_unsafety.rs
AgeCommit message (Expand)AuthorLines
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
2022-01-12Remove deprecated LLVM-style inline assemblyTomasz Miąsko-5/+0
2021-12-22Store a `DefId` instead of an `AdtDef` in `AggregateKind::Adt`Aaron Hill-2/+2
2021-12-07Remove `in_band_lifetimes` from `rustc_mir_transform`Scott McMurray-3/+3
2021-12-03Add initial AST and MIR support for unwinding from inline assemblyAmanieu d'Antras-0/+1
2021-09-07Move rustc_mir::transform to rustc_mir_transform.Camille GILLOT-0/+574