const-destructure 0.1.1

Destructuring in const contexts on stable Rust.
Documentation
1
2
3
4
5
6
7
8
9
struct Wrap<T> {
    value: T,
}

const fn test<T>(wrap: Wrap<T>) -> T {
    wrap.value
}

fn main() {}