Fix false positive invalid null usage warning for ptr::slice_from_raw_parts_* functions
This commit is contained in:
parent
7901289135
commit
f203e1ede5
1 changed files with 0 additions and 2 deletions
|
|
@ -277,8 +277,6 @@ fn check_invalid_ptr_usage<'tcx>(cx: &LateContext<'tcx>, expr: &'tcx Expr<'_>) {
|
|||
| sym::ptr_read_unaligned
|
||||
| sym::ptr_read_volatile
|
||||
| sym::ptr_replace
|
||||
| sym::ptr_slice_from_raw_parts
|
||||
| sym::ptr_slice_from_raw_parts_mut
|
||||
| sym::ptr_write
|
||||
| sym::ptr_write_bytes
|
||||
| sym::ptr_write_unaligned
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue