the const_fn compiler feature is a NOP

This commit is contained in:
Ralf Jung 2021-05-04 17:35:33 +02:00
parent cc587faa9d
commit 96c7cad37e

View File

@ -71,5 +71,3 @@ Your crate root: (`lib.rs`/`main.rs`)
```rust,ignore
#![feature(const_ptr_offset_from, const_maybe_uninit_as_ptr, const_raw_ptr_deref, const_refs_to_cell)]
```
If you intend to use `offset_of!` inside a `const fn`, also add the `const_fn` compiler feature.