granite-rust/tests
Dylan DPC 7257e9c2de
Rollup merge of #115100 - Urgau:invalid_ref_casting-ptr-writes, r=est31
Add support for `ptr::write`s for the `invalid_reference_casting` lint

This PR adds support for `ptr::write` and others for the `invalid_reference_casting` lint.

Detecting instances where instead of using the deref (`*`) operator to assign someone uses `ptr::write`, `ptr::write_unaligned` or `ptr::write_volatile`.

```rust
let data_len = 5u64;

std::ptr::write(
    std::mem::transmute::<*const u64, *mut u64>(&data_len),
    new_data_len,
);
```

r? ``@est31``
2023-08-23 05:35:17 +00:00
..
assembly Auto merge of #112922 - g0djan:godjan/wasi-threads, r=wesleywiser 2023-08-02 01:01:48 +00:00
auxiliary
codegen Rollup merge of #115096 - kadiwa4:no_memcpy_padding, r=cjgillot 2023-08-23 05:35:17 +00:00
codegen-units
debuginfo Replace ignore-everything with only-arch 2023-07-29 15:49:07 -07:00
incremental Forbid old-style simd_shuffleN intrinsics 2023-08-03 09:29:00 +00:00
mir-opt Auto merge of #113124 - nbdd0121:eh_frame, r=cjgillot 2023-08-20 09:58:52 +00:00
pretty
run-coverage coverage: Anonymize line numbers in run-coverage test snapshots 2023-08-17 10:03:32 +10:00
run-coverage-rustdoc coverage: Anonymize line numbers in run-coverage test snapshots 2023-08-17 10:03:32 +10:00
run-make Auto merge of #113124 - nbdd0121:eh_frame, r=cjgillot 2023-08-20 09:58:52 +00:00
run-make-fulldeps On nightly, dump ICE backtraces to disk 2023-07-19 14:10:07 +00:00
run-pass-valgrind
rustdoc Add check-pass tests and fix test behavior 2023-08-18 15:19:18 +08:00
rustdoc-gui Auto merge of #106561 - GuillaumeGomez:warning-block, r=rustdoc 2023-08-21 09:26:02 +00:00
rustdoc-js Auto merge of #112233 - notriddle:notriddle/search-unify, r=GuillaumeGomez 2023-06-15 03:04:46 +00:00
rustdoc-js-std Auto merge of #108537 - GuillaumeGomez:rustdoc-search-whitespace-as-separator, r=notriddle 2023-07-02 18:49:29 +00:00
rustdoc-json rustdoc-json: Add tests for field/variant ordering. 2023-08-09 00:32:03 +00:00
rustdoc-ui rustdoc: use unicode-aware checks for redundant explicit link fastpath 2023-08-21 14:25:26 -07:00
ui Rollup merge of #115100 - Urgau:invalid_ref_casting-ptr-writes, r=est31 2023-08-23 05:35:17 +00:00
ui-fulldeps Bump syn dependency 2023-07-26 08:42:40 +00:00
COMPILER_TESTS.md