about summary refs log tree commit diff
path: root/tests/ui/unsafe
AgeCommit message (Expand)AuthorLines
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
2023-06-13Add MVP suggestion for `unsafe_op_in_unsafe_fn`Léo Lanteri Thauvin-0/+70
2023-04-02Move some UI tests into subdirectoriesjyn-0/+89
2023-03-09Also test destructuring assignment.Camille GILLOT-4/+21
2023-03-09Ignore AscribeUserType in unsafeck to avoid duplicate diagnostics.Camille GILLOT-12/+3
2023-03-09Introduce a no-op PlaceMention statement for `let _ =`.Camille GILLOT-4/+21
2023-03-09Add ui test.Camille GILLOT-4/+30
2023-01-11Move /src/test to /testsAlbert Larsan-0/+2151