Skip to content

Commit 2fd0cfe

Browse files
committed
Update to nightly 2022-04-19
Finally works without triggering an ICE!
1 parent bf0a27e commit 2fd0cfe

File tree

4 files changed

+1
-7
lines changed

4 files changed

+1
-7
lines changed

libs/context/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
#![feature(
22
negative_impls, // !Send is much cleaner than `PhantomData<Rc>`
33
untagged_unions, // I want to avoid ManuallyDrop in unions
4-
const_fn_trait_bound, // So generics + const fn are unstable, huh?
54
generic_associated_types, // Finally!
65
ptr_metadata
76
)]

libs/simple/src/lib.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,11 @@
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_ptr_offset,
3332
const_mut_refs,
3433
const_align_of_val,
3534
// Needed for field_offset!
3635
const_ptr_offset_from,
3736
const_refs_to_cell,
38-
const_fn_trait_bound,
3937
generic_associated_types
4038
)]
4139
#![feature(drain_filter)]

src/epsilon/handle.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,7 @@ zerogc_derive::unsafe_gc_impl!(
5959
);
6060

6161
unsafe impl HandleCollectorId for EpsilonCollectorId {
62-
type Handle<T>
63-
where T: GcSafe<'static, Self> + ?Sized = GcHandle<T>;
62+
type Handle<T> = GcHandle<T> where T: GcSafe<'static, Self> + ?Sized;
6463

6564
fn create_handle<'gc, T>(_gc: Gc<'gc, T, Self>) -> Self::Handle<T::Branded>
6665
where T: GcSafe<'gc, Self> + GcRebrand<'static, Self> + ?Sized {

src/lib.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
once_cell, // RFC 2788 (Probably will be accepted)
99
negative_impls, // More elegant than marker types
1010
alloc_layout_extra,
11-
const_fn_trait_bound,
12-
const_fn_fn_ptr_basics,
1311
const_mut_refs,
1412
const_option,
1513
const_slice_from_raw_parts,

0 commit comments

Comments
 (0)