about summary refs log tree commit diff
path: root/src/test/ui/unsafe
AgeCommit message (Expand)AuthorLines
2023-01-11Move /src/test to /testsAlbert Larsan-2151/+0
2023-01-08Mention signature rather than fn pointers when comparing impl/trait methodsMichael Goulet-4/+4
2023-01-03Don't trim path for `unsafe_op_in_unsafe_fn` lintsLéo Lanteri Thauvin-0/+21
2022-11-04Formatting changes + add UI testclubby789-0/+50
2022-10-01bless ui testsMaybe Waffle-4/+4
2022-08-02never consider unsafe blocks unused if they would be required with unsafe_op_...Ralf Jung-58/+6
2022-07-13remove untagged_union feature gateRalf Jung-48/+29
2022-06-21Move some tests to more reasonable directoriesCaio-0/+95
2022-04-26Revert "add `DefId` to unsafety violations and display function path in E0133"Oli Scherer-43/+51
2022-04-24only show a simple description in E0133 span labelEmil Gardström-12/+12
2022-04-24add `DefId` to unsafety violations and display function path in E0133Emil Gardström-34/+34
2022-03-24Check if call return type is visibly uninhabited when building MIRTomasz Miąsko-4/+59
2022-03-21Don't run UB in test suiteSmitty-54/+107
2022-02-28Tweak diagnosticsEsteban Kuber-4/+8
2022-02-20Improve `unused_unsafe` lintFrank Steffahn-4/+16
2022-01-12Remove ui tests for LLVM-style inline assemblyTomasz Miąsko-26/+4
2021-12-12Stabilize asm! and global_asm!Amanieu d'Antras-5/+6
2021-12-11Tweak assoc type obligation spansEsteban Kuber-3/+5
2021-11-06Stabilize `const_raw_ptr_deref` for `*const T`Jacob Pratt-3/+2
2021-10-15Bless testsCameron Steffen-4/+4
2021-09-15Move some tests to more reasonable directoriesCaio-0/+98
2021-08-23Auto merge of #83302 - camsteffen:write-piece-unchecked, r=dtolnaybors-2/+17
2021-08-17Add needs-asm-support to more testsJosh Stone-4/+5
2021-08-16Add unnecessary unsafe testCameron Steffen-2/+17
2021-08-15Fix ui tests for llvm_asm! deprecationAmanieu d'Antras-4/+5
2021-08-03Test dropping union fields moreSmitty-0/+148
2021-07-30Properly find owner of closure in THIR unsafeckLeSeulArtichaut-0/+15
2021-07-10Implement Mutation- and BorrowOfLayoutConstrainedField in thir-unsafeckFabian Wolff-11/+359
2021-07-09Check for union field accesses in THIR unsafeckSmitty-0/+246
2021-06-21Fix unused_unsafe with compiler-generated unsafeCameron Steffen-11/+12
2021-05-27Rollup merge of #85564 - pnkfelix:issue-85435-readd-capture-disjoint-fields-g...Dylan DPC-0/+27
2021-05-25Run THIR unsafeck on `unsafe_op_in_unsafe_fn` testLeSeulArtichaut-16/+141
2021-05-24Apply suggestions from code review Felix S Klock II-0/+2
2021-05-24Replace more "NULL" with "null"LeSeulArtichaut-4/+4
2021-05-21Apply suggestions from code review Felix S Klock II-3/+0
2021-05-21Regression test for issue 85435.Felix S. Klock II-0/+28
2021-05-21Check for initialization of layout-restricted typesLeSeulArtichaut-2/+33
2021-05-20Check for raw pointer dereference in THIR unsafeckLeSeulArtichaut-4/+60
2021-05-14Check for inline assembly in THIR unsafeckSmitty-0/+50
2021-05-11Test `-Zthir-unsafeck` for unused unsafe blocksLeSeulArtichaut-2/+19
2021-05-11Test `-Zthir-unsafeck` for unsafe function callsLeSeulArtichaut-3/+45
2021-05-09remove const_fn feature gateRalf Jung-2/+1
2021-05-02Change 'NULL' to 'null'Brent Kerby-6/+6
2021-03-27make unaligned_refereces future-incompat lint warn-by-default, and remove the...Ralf Jung-127/+0
2021-02-18Stabilize `unsafe_op_in_unsafe_fn` lintLeSeulArtichaut-17/+16
2021-01-23Permit mutable references in all const contextsoli-1/+16
2021-01-19Auto merge of #81110 - LeSeulArtichaut:fix-unused-unsafe-label, r=RalfJungbors-16/+39
2021-01-17Fix `unused_unsafe` label with `unsafe_block_in_unsafe_fnLeSeulArtichaut-16/+39
2021-01-17Auto merge of #80942 - c410-f3r:tests-tests-tests, r=petrochenkovbors-0/+16
2021-01-16Move some tests to more reasonable directories - 2Caio-0/+16