summaryrefslogtreecommitdiff
path: root/tests/ui/unsafe
AgeCommit message (Expand)Author
2023-12-07recurse into refs when comparing tys for diagnosticsjyn
2023-11-24Show number in error message even for one errorNilstrieb
2023-11-16recover primary span labelEsteban Küber
2023-11-06Visit patterns in THIR let expressionsMatthew Jasper
2023-11-06Add suggestion to THIR unsafe_op_in_unsafe_fn lintMatthew Jasper
2023-11-02Pretty print Fn traits in rustc_on_unimplementedMichael Goulet
2023-10-25Make THIR unused_unsafe lint consistent with MIRMatthew Jasper
2023-09-14Auto merge of #112038 - Nemo157:edition-2024-unsafe_op_in_unsafe_fn, r=RalfJungbors
2023-09-06add a regression testmojave2
2023-09-06Change unsafe_op_in_unsafe_fn to be warn-by-default from edition 2024Wim Looman
2023-08-30Test and note unsafe ctor to fn ptr coercionMichael Goulet
2023-08-30rustc_layout_scalar_valid_range makes ctors unsafeMichael Goulet
2023-07-15Implement "items do not inherit unsafety" for THIR unsafecksyvb
2023-06-13Add test cases for suggestions with unsafe operations contained inside macrosWim Looman
2023-06-13Add note about unsafe functions body not being unsafeWim Looman
2023-06-13Hide suggestion to wrap function in unsafe blockWim Looman
2023-06-13Test that a couple more types of unsafe-ops get a wrapping unsafe block addedWim Looman
2023-06-13Add MVP suggestion for `unsafe_op_in_unsafe_fn`Léo Lanteri Thauvin
2023-04-02Move some UI tests into subdirectoriesjyn
2023-03-09Also test destructuring assignment.Camille GILLOT
2023-03-09Ignore AscribeUserType in unsafeck to avoid duplicate diagnostics.Camille GILLOT
2023-03-09Introduce a no-op PlaceMention statement for `let _ =`.Camille GILLOT
2023-03-09Add ui test.Camille GILLOT
2023-01-11Move /src/test to /testsAlbert Larsan