const-destructure 0.1.3

Destructuring in const contexts on stable Rust.
Documentation
1
2
3
4
5
6
7
8
error[E0493]: destructor of `(T,)` cannot be evaluated at compile-time
 --> compile_fail_tests/tuple_destructure.rs:1:18
  |
1 | const fn test<T>(wrap: (T,)) -> T {
  |                  ^^^^ the destructor for this type cannot be evaluated in constant functions
2 |     wrap.0
3 | }
  | - value is dropped here