structural-typing 0.1.9

Type-level field presence tracking for Rust structs, inspired by TypeScript
Documentation
1
2
3
4
5
error: #[structural] requires named fields
 --> tests/ui/tuple_struct_rejected.rs:4:13
  |
4 | struct Tuple(String, u32);
  |             ^^^^^^^^^^^^^