about summary refs log tree commit diff
path: root/compiler/rustc_lint/src/ptr_nulls.rs
AgeCommit message (Expand)AuthorLines
2025-07-18fix: don't panic on volatile access to nullLuigi Sartor Piucco-3/+1
2025-03-30Uplift `clippy::invalid_null_ptr_usage` as `invalid_null_arguments`Urgau-3/+103
2025-03-30Improve explicitness of the impl of the `useless_ptr_null_checks` lintUrgau-12/+12
2024-07-29Reformat `use` declarations.Nicholas Nethercote-1/+3
2024-01-23Rename `LintContext::emit_spanned_lint` as `LintContext::emit_span_lint`.Nicholas Nethercote-4/+4
2023-10-13Format all the let chains in compilerMichael Goulet-8/+13
2023-08-06Improve diagnostics and add tests for function callsest31-23/+29
2023-08-05Add #[rustc_never_returns_null_ptr]est31-1/+1
2023-08-03Also add label with original type for function pointersUrgau-1/+1
2023-08-03Also lint on cast/cast_mut and ptr::from_mut/ptr::from_refUrgau-16/+36
2023-08-01Rename incorrect_fn_null_checks to useless_ptr_null_checksUrgau-0/+126