diff options
| author | bors <bors@rust-lang.org> | 2024-07-15 10:57:49 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-07-15 10:57:49 +0000 |
| commit | d3dd34a1d4a7e25a92a0d65994bb01a5d17c59ee (patch) | |
| tree | bd23bcd2ad1cdb90b447fb16e6a4679dbda900d0 /library/std/src/lib.rs | |
| parent | adeb79d3f523dfc11a8e9db64ddfc5f546f650bb (diff) | |
| parent | 476d399782a27df846e1ace578a2e89f70a13d42 (diff) | |
| download | rust-d3dd34a1d4a7e25a92a0d65994bb01a5d17c59ee.tar.gz rust-d3dd34a1d4a7e25a92a0d65994bb01a5d17c59ee.zip | |
Auto merge of #127757 - workingjubilee:rollup-4dbks5r, r=workingjubilee
Rollup of 3 pull requests Successful merges: - #127712 (Windows: Remove some unnecessary type aliases) - #127744 (std: `#![deny(unsafe_op_in_unsafe_fn)]` in platform-independent code) - #127750 (Make os/windows and pal/windows default to `#![deny(unsafe_op_in_unsafe_fn)]`) r? `@ghost` `@rustbot` modify labels: rollup
Diffstat (limited to 'library/std/src/lib.rs')
| -rw-r--r-- | library/std/src/lib.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/library/std/src/lib.rs b/library/std/src/lib.rs index 66aeb35acee..d4d68c2068d 100644 --- a/library/std/src/lib.rs +++ b/library/std/src/lib.rs @@ -252,6 +252,7 @@ #![allow(internal_features)] #![deny(rustc::existing_doc_keyword)] #![deny(fuzzy_provenance_casts)] +#![deny(unsafe_op_in_unsafe_fn)] #![allow(rustdoc::redundant_explicit_links)] // Ensure that std can be linked against panic_abort despite compiled with `-C panic=unwind` #![deny(ffi_unwind_calls)] @@ -664,7 +665,7 @@ pub mod alloc; mod panicking; #[path = "../../backtrace/src/lib.rs"] -#[allow(dead_code, unused_attributes, fuzzy_provenance_casts)] +#[allow(dead_code, unused_attributes, fuzzy_provenance_casts, unsafe_op_in_unsafe_fn)] mod backtrace_rs; // Re-export macros defined in core. |
