This is really only useful for #[cfg()]. For example:
```rust
enum Foo {
Bar,
Baz,
#[cfg(blob)]
Blob
}
fn match_foos(f: &Foo) {
match *f {
Bar => {}
Baz => {}
#[cfg(blob)]
Blob => {}
}
}
```
This is a kind of weird place to allow attributes, so it should probably
be discussed before merging.
|
||
|---|---|---|
| .. | ||
| cmp | ||
| clone.rs | ||
| decodable.rs | ||
| default.rs | ||
| encodable.rs | ||
| generic.rs | ||
| hash.rs | ||
| mod.rs | ||
| primitive.rs | ||
| rand.rs | ||
| show.rs | ||
| ty.rs | ||
| zero.rs | ||