Skip to content

Commit 9b41a2d

Browse files
committed
Remove the const_fn feature.
It has been removed in recent nightlies :)
1 parent 992d656 commit 9b41a2d

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

lib/derive/tests/simple.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#![feature(
22
never_type,
3-
// const_fn is used by AsmType
4-
const_fn, const_panic
3+
// RFC has been accepted
4+
const_panic
55
)]
66

77
use static_reflect::{field_offset, StaticReflect, FieldReflect};

src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
//! of compile-time reflection.
1212
#![deny(missing_docs)]
1313
#![feature(
14-
const_fn, // We rely on const eval :(
1514
const_panic, const_option, // We use Option::unwrap
1615
const_fn_fn_ptr_basics, // We use PhantomData<fn() -> T>
1716
// Used for field_offset macro

0 commit comments

Comments
 (0)