structural-typing 0.1.7

Type-level field presence tracking for Rust structs, inspired by TypeScript
Documentation
1
2
3
4
5
6
7
error: select! requires at least one field
 --> tests/ui/select_empty.rs:9:20
  |
9 |     type Invalid = select!(user:);
  |                    ^^^^^^^^^^^^^^
  |
  = note: this error originates in the macro `select` (in Nightly builds, run with -Z macro-backtrace for more info)