about summary refs log tree commit diff
path: root/clippy_lints/src/casts/borrow_as_ptr.rs
AgeCommit message (Expand)AuthorLines
2024-12-29Do not remove required parentheses in `borrow_as_ptr` suggestionSamuel Tardieu-13/+16
2024-12-05update `borrow_as_ptr` to suggest `&raw` when the MSRV allows itcyrgani-7/+21
2024-12-05fix the order of emitting `ref_as_ptr` and `borrow_as_ptr`cyrgani-3/+6
2024-09-24Use std_or_core to determine the correct prefixSamuel Tardieu-3/+3
2023-06-14use rustc's criteria for a temporaryCentri3-4/+8
2023-06-13[`borrow_as_ptr`]: Ignore temporariesCentri3-1/+7
2022-09-23Apply uninlined_format-args to clippy_lintsYuri Astrakhan-1/+1
2022-08-19Move `BorrowAsPtr` into `Casts` lint passJason Newcomb-0/+37