Enum namespaces in Rust
```python
from enum import IntFlag

class Test(IntFlag):
    RUNBIT = 0
    PKTBIT = 1
    RUNPKT = RUNBIT | PKTBIT
```

transpiles to:

```rust
extern crate flagset;
use flagset::flags;
use std::os::raw::c_int;

flags! {
    pub enum Test: c_int {
        RUNBIT = 0,
        PKTBIT = 1,
        RUNPKT = (RUNBIT | PKTBIT),
    }
}
```

But the code doesn't compile, because the last line should be:

>         RUNPKT = (Test::RUNBIT | Test::PKTBIT).bits(),
