diff options
| author | Michael Goulet <michael@errs.io> | 2024-08-26 19:40:43 -0400 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2024-08-26 19:51:05 -0400 |
| commit | 38e62b98418c22d3a00f5af689ae538e4216fb5f (patch) | |
| tree | 5a4847b102fd5334889d9faa4cb464aa4f3681dc /compiler/rustc_middle/src/lib.rs | |
| parent | 515395af0efdbdd657ff08a1f6d28e553856654f (diff) | |
| download | rust-38e62b98418c22d3a00f5af689ae538e4216fb5f.tar.gz rust-38e62b98418c22d3a00f5af689ae538e4216fb5f.zip | |
Use unsafe extern blocks throughout the compiler
Diffstat (limited to 'compiler/rustc_middle/src/lib.rs')
| -rw-r--r-- | compiler/rustc_middle/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_middle/src/lib.rs b/compiler/rustc_middle/src/lib.rs index 6886562d9b7..ce330b4744b 100644 --- a/compiler/rustc_middle/src/lib.rs +++ b/compiler/rustc_middle/src/lib.rs @@ -28,7 +28,7 @@ #![allow(rustc::diagnostic_outside_of_impl)] #![allow(rustc::potential_query_instability)] #![allow(rustc::untranslatable_diagnostic)] -#![cfg_attr(bootstrap, feature(min_exhaustive_patterns))] +#![cfg_attr(bootstrap, feature(min_exhaustive_patterns, unsafe_extern_blocks))] #![doc(html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/")] #![doc(rust_logo)] #![feature(allocator_api)] |
