about summary refs log tree commit diff
path: root/compiler/rustc_mir_build/src/check_unsafety.rs
AgeCommit message (Expand)AuthorLines
2023-11-26rustc: `hir().local_def_id_to_hir_id()` -> `tcx.local_def_id_to_hir_id()` cle...Vadim Petrochenkov-2/+2
2023-11-25is_{some,ok}_andMichael Goulet-1/+1
2023-11-21Fix `clippy::needless_borrow` in the compilerNilstrieb-1/+1
2023-11-08rename `BorrowKind::Shallow` to `Fake`lcnr-3/+3
2023-11-06Visit patterns in THIR let expressionsMatthew Jasper-8/+0
2023-11-06Add suggestion to THIR unsafe_op_in_unsafe_fn lintMatthew Jasper-10/+66
2023-11-06Recognise thread local statics in THIR unsafeckMatthew Jasper-1/+3
2023-10-25Make THIR unused_unsafe lint consistent with MIRMatthew Jasper-67/+85
2023-10-25Auto merge of #116482 - matthewjasper:thir-unsafeck-inline-constants, r=b-naberbors-2/+10
2023-10-20s/generator/coroutine/Oli Scherer-1/+1
2023-10-16Address review commentsMatthew Jasper-20/+7
2023-10-16Fix inline const pattern unsafety checking in THIRMatthew Jasper-3/+24
2023-10-15Auto merge of #116688 - compiler-errors:rustfmt-up, r=WaffleLapkin,Nilstriebbors-4/+7
2023-10-14Propagate pattern errors via a new `PatKind::Error` variantNadrieril-1/+2
2023-10-13Format all the let chains in compilerMichael Goulet-4/+7
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