about summary refs log tree commit diff
path: root/src/rustllvm/PassWrapper.cpp
diff options
context:
space:
mode:
authorTyler Mandry <tmandry@gmail.com>2019-11-26 17:56:13 -0600
committerGitHub <noreply@github.com>2019-11-26 17:56:13 -0600
commitac7e60476043899ce8eba40c3d92ccccdaa73c79 (patch)
tree78fa123ff7a48be03093ca22194668afb3190798 /src/rustllvm/PassWrapper.cpp
parent7ef70054224162c8809cac8aa4eb34a2efc5594d (diff)
parentfdcf854bb9b03ff9f8c60c824f0c6709a38269d0 (diff)
downloadrust-ac7e60476043899ce8eba40c3d92ccccdaa73c79.tar.gz
rust-ac7e60476043899ce8eba40c3d92ccccdaa73c79.zip
Rollup merge of #66717 - dtolnay:tidy, r=Mark-Simulacrum
tidy: Accommodate rustfmt's preferred layout of stability attributes

Previously tidy would require that the `feature = "name_of_feature"` part of the stability attribute was on the same line as the `#[stable(` / `#[unstable(` opening part of the attribute, and that `)]` was on the same line as the last key-value pair.

That didn't work with rustfmt's preferred layout of long attributes, which is like:

```rust
#[unstable(
    feature = "c_variadic",
    reason = "the `c_variadic` feature has not been properly tested on \
              all supported platforms",
    issue = "44930"
)]
```
Diffstat (limited to 'src/rustllvm/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions