|
252 | 252 | #![allow(internal_features)] |
253 | 253 | #![deny(rustc::existing_doc_keyword)] |
254 | 254 | #![deny(fuzzy_provenance_casts)] |
| 255 | +#![deny(unsafe_op_in_unsafe_fn)] |
255 | 256 | #![allow(rustdoc::redundant_explicit_links)] |
256 | 257 | // Ensure that std can be linked against panic_abort despite compiled with `-C panic=unwind` |
257 | 258 | #![deny(ffi_unwind_calls)] |
@@ -664,7 +665,7 @@ pub mod alloc; |
664 | 665 | mod panicking; |
665 | 666 |
|
666 | 667 | #[path ="../../backtrace/src/lib.rs"] |
667 | | -#[allow(dead_code, unused_attributes, fuzzy_provenance_casts)] |
| 668 | +#[allow(dead_code, unused_attributes, fuzzy_provenance_casts, unsafe_op_in_unsafe_fn)] |
668 | 669 | mod backtrace_rs; |
669 | 670 |
|
670 | 671 | // Re-export macros defined in core. |
|