Skip to content

Commit 6eca72c

Browse files
committed
Fix some warnings on latest nightly
Unfortunately I cannot test this because of several ICEs :(
1 parent 6807ad1 commit 6eca72c

File tree

3 files changed

+1
-5
lines changed

3 files changed

+1
-5
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
const_trait_impl,
76
ptr_metadata

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,10 +8,8 @@
88
once_cell, // RFC 2788 (Probably will be accepted)
99
negative_impls, // More elegant than marker types
1010
alloc_layout_extra,
11-
const_fn_fn_ptr_basics,
1211
const_mut_refs,
1312
const_option,
14-
const_fn_trait_bound, // NOTE: Needed for the `epsilon_static_array` macro
1513
const_trait_impl, // EXPERIMENTAL: const Deref
1614
const_slice_from_raw_parts,
1715
const_transmute_copy,

0 commit comments

Comments
 (0)