Irrefutable procedural macro


Little procedural macro to convert a refutable let expression to an irrefutable.

Example:

        #[irrefutable(unreachable)]
        let Some((ref a, ref mut b)) = Some(("a", "b"));
        *b = "c";
3 Likes