With the minimum Rust version bumped to 1.31, there's no need to feature gate NonNull usage or const fn constructors for Link types anymore. The collections const fn constructors don't work on stable so those are still gated.
error[E0723]: trait bounds other than `Sized` on const fn parameters are unstable (see issue #57563)
--> src\linked_list.rs:625:6
|
625 | impl<A: Adapter<Link = Link>> LinkedList<A> {
| ^
|
= help: add #![feature(const_fn)] to the crate attributes to enable
error: aborting due to previous error
With the minimum Rust version bumped to 1.31, there's no need to feature gate
NonNull
usage orconst fn
constructors forLink
types anymore. The collectionsconst fn
constructors don't work on stable so those are still gated.