about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2014-04-23 23:51:30 -0700
committerbors <bors@rust-lang.org>2014-04-23 23:51:30 -0700
commit867898977d30a79ef19d5588c1632f48e75cb98f (patch)
treefadd42a856cb56ccc07a66920331eb19a5a4d331 /src/rustllvm/RustWrapper.cpp
parent4e1a09844e49a91d0f9dea19561f15d34992d0e8 (diff)
parent1452c9c04a11dd6ad6890b811b411ef80b0c5b6f (diff)
downloadrust-867898977d30a79ef19d5588c1632f48e75cb98f.tar.gz
rust-867898977d30a79ef19d5588c1632f48e75cb98f.zip
auto merge of #12812 : sfackler/rust/attr-arm, r=alexcrichton
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.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions