irrefutable 0.1.0

Irrefutable procedural macro.
Documentation

Irrefutable

Irrefutable procedural macro.

Examples

unreachable:

#![feature(proc_macro_hygiene)]

use irrefutable::irrefutable;

#[irrefutable(unreachable)]
let Some((a, b)) = Some(("a", "b"));

return:

#![feature(proc_macro_hygiene)]

use irrefutable::irrefutable;

#[irrefutable(return)]
let Some((a, b)) = Some(("a", "b"));