diff options
| author | Ralf Jung <post@ralfj.de> | 2024-08-17 14:49:35 +0200 | 
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2024-08-17 14:49:35 +0200 | 
| commit | 8b642a1883c489c74befca5b75514767a1f80314 (patch) | |
| tree | 7d4d1c9121210e9302089e6688bc49ffe3037647 /compiler/rustc_lint/src/lib.rs | |
| parent | 355a307a874077eff12bd99c6fd3eb6bfda79993 (diff) | |
| download | rust-8b642a1883c489c74befca5b75514767a1f80314.tar.gz rust-8b642a1883c489c74befca5b75514767a1f80314.zip | |
make writes_through_immutable_pointer a hard error
Diffstat (limited to 'compiler/rustc_lint/src/lib.rs')
| -rw-r--r-- | compiler/rustc_lint/src/lib.rs | 3 | 
1 files changed, 2 insertions, 1 deletions
| diff --git a/compiler/rustc_lint/src/lib.rs b/compiler/rustc_lint/src/lib.rs index 4f3933d461b..547f7eb8e2a 100644 --- a/compiler/rustc_lint/src/lib.rs +++ b/compiler/rustc_lint/src/lib.rs @@ -569,7 +569,8 @@ fn register_builtins(store: &mut LintStore) { "byte_slice_in_packed_struct_with_derive", "converted into hard error, see issue #107457 \ <https://github.com/rust-lang/rust/issues/107457> for more information", - ) + ); + store.register_removed("writes_through_immutable_pointer", "converted into hard error"); } fn register_internals(store: &mut LintStore) { | 
