proc-macro2 1.0.4

A stable implementation of the upcoming new `proc_macro` API. Comes with an option, off by default, to also reimplement itself in terms of the upstream unstable API.
Documentation
1
2
3
4
5
6
7
8
#[test]
#[ignore]
fn make_sure_no_proc_macro() {
    assert!(
        !cfg!(feature = "proc-macro"),
        "still compiled with proc_macro?"
    );
}