diff options
| author | bors <bors@rust-lang.org> | 2022-08-29 18:07:50 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-08-29 18:07:50 +0000 |
| commit | e9f7ce1f91b8c44cc6ff4f9ad213e36debc764d9 (patch) | |
| tree | 9d47a48bc44c273a3b3866da4962322089605a01 /src/test/debuginfo/enum-thinlto.rs | |
| parent | 58bbb1a95dad9eb866e3a29db760b4ccc6da55ba (diff) | |
| parent | cc9f2035432135375ae73e3bdfb73e80114b55ea (diff) | |
| download | rust-e9f7ce1f91b8c44cc6ff4f9ad213e36debc764d9.tar.gz rust-e9f7ce1f91b8c44cc6ff4f9ad213e36debc764d9.zip | |
Auto merge of #9247 - clubby789:raw_slice_pointer_cast, r=Alexendoo
New lint: Raw slice pointer cast Adds a lint to check for a raw slice being created and cast back to a pointer, suggesting `ptr::slice_from_raw_parts`, to identify UB such as https://github.com/SimonSapin/rust-typed-arena/pull/54. ``` changelog: [`cast_slice_from_raw_parts`]: Add lint to check for `slice::from_raw_parts(.., ..) as *const _` ```
Diffstat (limited to 'src/test/debuginfo/enum-thinlto.rs')
0 files changed, 0 insertions, 0 deletions
