diff options
| author | LeSeulArtichaut <leseulartichaut@gmail.com> | 2020-11-19 18:32:35 +0100 |
|---|---|---|
| committer | LeSeulArtichaut <leseulartichaut@gmail.com> | 2021-02-18 17:12:15 +0100 |
| commit | ec20993c4db26c431e700d5f6b59fe26028cab31 (patch) | |
| tree | fe0ce1f68ca0fffa30a1463f2c7b08032535e525 /library/std/src | |
| parent | cb2effd44e667d133e31ef334e30d10195218ce6 (diff) | |
| download | rust-ec20993c4db26c431e700d5f6b59fe26028cab31.tar.gz rust-ec20993c4db26c431e700d5f6b59fe26028cab31.zip | |
Stabilize `unsafe_op_in_unsafe_fn` lint
Diffstat (limited to 'library/std/src')
| -rw-r--r-- | library/std/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/lib.rs b/library/std/src/lib.rs index 16733b7ccd3..1a5becf2a95 100644 --- a/library/std/src/lib.rs +++ b/library/std/src/lib.rs @@ -324,7 +324,7 @@ #![feature(try_blocks)] #![feature(try_reserve)] #![feature(unboxed_closures)] -#![feature(unsafe_block_in_unsafe_fn)] +#![cfg_attr(bootstrap, feature(unsafe_block_in_unsafe_fn))] #![feature(unsafe_cell_raw_get)] #![feature(unwind_attributes)] #![feature(vec_into_raw_parts)] |
