3 stable releases

1.0.2 Jul 4, 2021
1.0.1 Jul 2, 2021
Download history 3/week @ 2022-03-06 12/week @ 2022-03-13 9/week @ 2022-03-20 3/week @ 2022-03-27 3/week @ 2022-04-10 10/week @ 2022-04-24 12/week @ 2022-05-01 18/week @ 2022-05-08 54/week @ 2022-05-15 15/week @ 2022-05-22 33/week @ 2022-05-29 16/week @ 2022-06-05 6/week @ 2022-06-12 5/week @ 2022-06-19

63 downloads per month

BSD-2-Clause

3KB

nightly-crimes

The nightly_crimes!{} macro commits horrible crimes to allow you to enable nightly features on the stable compiler.

https://twitter.com/m_ou_se/status/1410930900116951040

Please do not use this.

Example

use nightly_crimes::nightly_crimes;

nightly_crimes! {
    #![feature(never_type)]
    #![feature(box_syntax)]
    fn hey(x: Result<&str, !>) -> Box<String> {
        match x {
            Ok(x) => box x.to_string(),
            Err(x) => x,
        }
    }
}

fn main() {
    println!("{}", hey(Ok("success!")));
}
$ cargo +stable r
success!

Dependencies