master
Avril 3 years ago
parent 21e3f37cf2
commit 78256a807b
Signed by: flanchan
GPG Key ID: 284488987C31F630

@ -30,6 +30,7 @@
#![cfg_attr(nightly, feature(test))]
#![cfg_attr(nightly, feature(drain_filter))]
#![cfg_attr(nightly, feature(const_fn))]
#![cfg_attr(nightly, feature(never_type))]
#[cfg(nightly)] extern crate test;
#[macro_use] extern crate const_fn;

@ -133,3 +133,11 @@ prim!(NonZeroUsize: ^+);
prim!((): fn {
0
});
#[cfg(nightly)]
prim!(!: {
fn collapse(&self) -> u8
{
*self
}
});

Loading…
Cancel
Save