Skip to content

Commit 68dbf79

Browse files
committed
Add #[feature(const_mut_refs)] declaration
Nessicarry on current nightly
1 parent 564e656 commit 68dbf79

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

libs/simple/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@
2929
new_uninit, // Until Rust has const generics, this is how we init arrays..
3030
ptr_metadata, // Needed to abstract over Sized/unsized types
3131
// Used for const layout computation:
32-
const_raw_ptr_deref,
3332
const_ptr_offset,
33+
const_mut_refs,
3434
const_align_of_val,
3535
// Needed for field_offset!
3636
const_ptr_offset_from,

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44
unsize,
55
trait_alias, // RFC 1733 - Trait aliases
66
generic_associated_types, // RFC 1598 - Generic associated types
7-
const_raw_ptr_deref, // Needed for const Gc::value
87
// Needed for epsilon collector:
98
once_cell, // RFC 2788 (Probably will be accepted)
109
negative_impls, // More elegant than marker types
1110
alloc_layout_extra,
1211
const_fn_fn_ptr_basics,
12+
const_mut_refs,
1313
const_option,
1414
const_fn_trait_bound, // NOTE: Needed for the `epsilon_static_array` macro
1515
const_trait_impl, // EXPERIMENTAL: const Deref

0 commit comments

Comments
 (0)