about summary refs log tree commit diff
path: root/src/rustllvm/PassWrapper.cpp
diff options
context:
space:
mode:
authorDavid Tolnay <dtolnay@gmail.com>2019-11-24 12:44:49 -0800
committerDavid Tolnay <dtolnay@gmail.com>2019-11-24 12:52:50 -0800
commitfdcf854bb9b03ff9f8c60c824f0c6709a38269d0 (patch)
tree9c3355c48280793918653d22ac2e12d22b1f2054 /src/rustllvm/PassWrapper.cpp
parent5a1d028d4c8fc15473dc10473c38df162daa7b41 (diff)
downloadrust-fdcf854bb9b03ff9f8c60c824f0c6709a38269d0.tar.gz
rust-fdcf854bb9b03ff9f8c60c824f0c6709a38269d0.zip
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:

    #[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