nearest 0.4.5

Self-relative pointer library for region-based allocation
Documentation
1
2
3
4
5
6
7
8
9
10
11
//! An enum without #[repr(u8)] must not compile.

use nearest::Flat;

#[derive(Flat)]
enum Bad {
  A,
  B,
}

fn main() {}