about summary refs log tree commit diff
path: root/compiler/rustc_lint/src/reference_casting.rs
AgeCommit message (Expand)AuthorLines
2023-12-14Recurse into let bindings if possible in ref casting lintUrgau-1/+6
2023-12-14Refactor and rename some functions in ref casting lintUrgau-40/+54
2023-12-14Extract casting detection logic in it's own functionUrgau-19/+24
2023-11-14Fix some typoscui fliter-1/+1
2023-10-13Format all the let chains in compilerMichael Goulet-1/+4
2023-10-04Clarify `invalid_reference_casting` lint around interior mutable typesUrgau-11/+15
2023-09-27Simplify casting logic of the invalid_reference_casting lintUrgau-80/+32
2023-09-27Prefer expr_or_init over manual init detectionUrgau-28/+7
2023-08-24Lint on invalid UnsafeCell::raw_get with invalid_reference_casting lintUrgau-5/+39
2023-08-22Add support for ptr::write for the invalid_reference_casting lintUrgau-17/+47
2023-08-15Improve `invalid_reference_casting` lintUrgau-18/+31
2023-08-12Also consider `transmute` with the `invalid_reference_casting` lintUrgau-24/+48
2023-07-29Improve diagnostics of the invalid_reference_casting lintUrgau-4/+16
2023-07-29Avoid linting on expression that are only UB with SB/TBUrgau-2/+15
2023-07-29Add support for deferred casting for the invalid_reference_casting lintUrgau-29/+62
2023-07-29Revert "Temporarily switch invalid_reference_casting lint to allow-by-default"Urgau-2/+1
2023-07-13Temporarily switch invalid_reference_casting lint to allow-by-defaultUrgau-1/+2
2023-07-13Rename cast_ref_to_mut lint to invalid_reference_castingUrgau-0/+74