summary refs log tree commit diff
path: root/tests/ui/unsafe
AgeCommit message (Expand)AuthorLines
2025-07-25commentsKivooeo-0/+27
2025-07-25move 28 testsKivooeo-0/+27
2025-07-16future-incompat lints: don't link to the nightly edition-guide versiondianne-17/+17
2025-07-10cleaned up some testsKivooeo-2/+5
2025-07-01moved testsKivooeo-0/+18
2025-06-10Loop check anon consts on their ownOli Scherer-6/+6
2025-05-23Emit dummy open drop for unsafe binderMichael Goulet-0/+29
2025-04-30compiletest: Make diagnostic kind mandatory on line annotationsVadim Petrochenkov-4/+6
2025-04-08UI tests: add missing diagnostic kinds where possibleVadim Petrochenkov-1/+1
2025-03-21remove `feature(inline_const_pat)`lcnr-23/+0
2024-12-15Use links to edition guide for edition migrationsEric Huss-33/+33
2024-11-26tests: remove `//@ pretty-expanded` usages许杰友 Jieyou Xu (Joe)-3/+0
2024-11-22Stabilize the 2024 editionEric Huss-6/+4
2024-11-16Reword suggestion messageEsteban Küber-1/+1
2024-10-06A raw ref of a deref is always safeMichael Goulet-0/+14
2024-09-18Check params for unsafety in THIRMichael Goulet-0/+38
2024-09-15also stabilize const_refs_to_cellRalf Jung-25/+4
2024-09-15stabilize const_mut_refsRalf Jung-36/+5
2024-08-06Don't Suggest Labeling `const` and `unsafe` BlocksVeera-10/+29
2024-08-06Add TestsVeera-0/+57
2024-07-04Tweak raw-pointer field access and array indexing suggestionsEsteban Küber-4/+6
2024-05-29Use parenthetical notation for `Fn` traitsEsteban Küber-1/+1
2024-05-22Cleanup: Fix up some diagnosticsLeón Orell Valerian Liehr-17/+21
2024-05-17Rename Unsafe to SafetySantiago Pastorino-3/+3
2024-02-16[AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives许杰友 Jieyou Xu (Joe)-29/+29
2024-02-01`#![feature(inline_const_pat)]` is no longer incompleteMatthew Jasper-1/+0
2024-01-22Auto merge of #120242 - matthiaskrgr:rollup-a93yj3i, r=matthiaskrgrbors-0/+1
2024-01-18Consistently warn unreachable subpatternsNadrieril-0/+1
2024-01-15make unsafe_op_in_unsafe_fn MachineApplicable and add it to 2024 compatibilityasquared31415-50/+153
2024-01-13Bless testsGeorge-lewis-0/+5
2024-01-05Handle context for const patterns correctlyMatthew Jasper-0/+24
2024-01-05Stabilize THIR unsafeckMatthew Jasper-92/+98
2024-01-05Remove revisions for THIR unsafeckMatthew Jasper-1093/+115
2023-12-07recurse into refs when comparing tys for diagnosticsjyn-4/+4
2023-11-24Show number in error message even for one errorNilstrieb-35/+35
2023-11-16recover primary span labelEsteban Küber-1/+2
2023-11-06Visit patterns in THIR let expressionsMatthew Jasper-2/+19
2023-11-06Add suggestion to THIR unsafe_op_in_unsafe_fn lintMatthew Jasper-30/+246
2023-11-02Pretty print Fn traits in rustc_on_unimplementedMichael Goulet-1/+1
2023-10-25Make THIR unused_unsafe lint consistent with MIRMatthew Jasper-7/+5
2023-09-14Auto merge of #112038 - Nemo157:edition-2024-unsafe_op_in_unsafe_fn, r=RalfJungbors-0/+33
2023-09-06add a regression testmojave2-0/+37
2023-09-06Change unsafe_op_in_unsafe_fn to be warn-by-default from edition 2024Wim Looman-0/+33
2023-08-30Test and note unsafe ctor to fn ptr coercionMichael Goulet-0/+25
2023-08-30rustc_layout_scalar_valid_range makes ctors unsafeMichael Goulet-0/+27
2023-07-15Implement "items do not inherit unsafety" for THIR unsafecksyvb-2/+28
2023-06-13Add test cases for suggestions with unsafe operations contained inside macrosWim Looman-11/+100
2023-06-13Add note about unsafe functions body not being unsafeWim Looman-8/+63
2023-06-13Hide suggestion to wrap function in unsafe blockWim Looman-37/+0
2023-06-13Test that a couple more types of unsafe-ops get a wrapping unsafe block addedWim Looman-1/+69