about summary refs log tree commit diff
path: root/compiler/rustc_mir_build/src/check_unsafety.rs
AgeCommit message (Expand)AuthorLines
2023-07-15Implement "items do not inherit unsafety" for THIR unsafecksyvb-24/+95
2023-07-14refactor(rustc_middle): Substs -> GenericArgMahdi Dibaiee-3/+3
2023-07-12Re-format let-else per rustfmt updateMark Rousskov-3/+1
2023-07-07Rename `adjustment::PointerCast` and variants using it to `PointerCoercion`Nilstrieb-1/+1
2023-06-27`thir`: Add `Become` expression kindMaybe Waffle-0/+1
2023-06-20address most easy commentsZiru Niu-13/+7
2023-06-20merge `BorrowKind::Unique` into `BorrowKind::Mut`Ziru Niu-7/+13
2023-04-22Auto merge of #106934 - DrMeepster:offset_of, r=WaffleLapkinbors-0/+1
2023-04-21offset_ofDrMeepster-0/+1
2023-04-20Remove WithOptconstParam.Camille GILLOT-31/+9
2023-01-03Don't trim path for `unsafe_op_in_unsafe_fn` lintsLéo Lanteri Thauvin-10/+13
2022-12-20rustc: Remove needless lifetimesJeremy Stucki-4/+4
2022-12-17Migrate "unused unsafe" lintTheOddGarlic-11/+13
2022-12-17Migrate "requires unsafe" diagnosticsTheOddGarlic-94/+106
2022-12-17Migrate "unsafe_op_in_unsafe_fn" lintsTheOddGarlic-8/+84
2022-12-13Extract shared logic into a new functionGary Guo-20/+14
2022-12-13Remove unnecessary recursive call to parent unsafeckGary Guo-3/+0
2022-12-13Allow unsafe through inline const for THIR unsafety checkerGary Guo-12/+25
2022-10-27Accept `TyCtxt` instead of `TyCtxtAt` in `Ty::is_*` functionsMaybe Waffle-4/+2
2022-10-01Refactor rustc lint APIMaybe Waffle-15/+7
2022-09-29Some path updatesOli Scherer-1/+1
2022-09-02Clean up THIR patterns.Nicholas Nethercote-2/+2
2022-08-24Rename `thir::Adt` as `thir::AdtExpr`.Nicholas Nethercote-1/+1
2022-08-24Box `thir::ExprKind::Closure`.Nicholas Nethercote-2/+2
2022-08-02add link to discussionRalf Jung-1/+2
2022-08-02never consider unsafe blocks unused if they would be required with unsafe_op_...Ralf Jung-4/+4
2022-07-31Rollup merge of #99186 - camsteffen:closure-localdefid, r=cjgillotDylan DPC-1/+0
2022-07-30Use LocalDefId for closures moreCameron Steffen-1/+0
2022-07-29Change enclosing_body_owner to return LocalDefIdMiguel Guarniz-1/+1
2022-07-17use body's param-env when checking if type needs dropMichael Goulet-2/+2
2022-07-14Auto merge of #98975 - jyn514:unstable_opts, r=wesleywiserbors-1/+1
2022-07-13Rename `debugging_opts` to `unstable_opts`Joshua Nelson-1/+1
2022-07-13assigning to a union field can never drop nowRalf Jung-17/+3
2022-07-09don't allow ZST in ScalarIntRalf Jung-0/+1
2022-05-20Remove `crate` visibility usage in compilerJacob Pratt-2/+2
2022-05-09reviewlcnr-8/+3
2022-05-09only compute `codegen_fn_attrs` where neededlcnr-2/+6
2022-04-24only show a simple description in E0133 span labelEmil Gardström-12/+30
2022-04-24add `DefId` to unsafety violations and display function path in E0133Emil Gardström-19/+33
2022-03-23use NonHirLiteral instead of ScalarLiteral, move pattern related code to pat_...b-naber-1/+1
2022-03-23change thir to lazily create constantsb-naber-0/+3
2022-03-16rustc_error: make ErrorReported impossible to constructmark-2/+7
2022-03-15fix typosDylan DPC-1/+1
2022-03-11Improve `AdtDef` interning.Nicholas Nethercote-3/+3
2022-02-286 - Make more use of `let_chains`Caio-19/+15
2022-01-12Remove deprecated LLVM-style inline assemblyTomasz Miąsko-2/+1
2021-11-18Use more let_else in rustc_mir_buildest31-12/+11
2021-09-09move thir visitor to rustc_middleEllen-1/+1
2021-08-15Introduce hir::ExprKind::Let - Take 2Caio-0/+9
2021-08-05Auto merge of #87737 - LeSeulArtichaut:unsafeck-less-freeze, r=oli-obkbors-18/+16