diff options
| author | David Tolnay <dtolnay@gmail.com> | 2019-11-24 12:44:49 -0800 |
|---|---|---|
| committer | David Tolnay <dtolnay@gmail.com> | 2019-11-24 12:52:50 -0800 |
| commit | fdcf854bb9b03ff9f8c60c824f0c6709a38269d0 (patch) | |
| tree | 9c3355c48280793918653d22ac2e12d22b1f2054 /src/rustllvm/PassWrapper.cpp | |
| parent | 5a1d028d4c8fc15473dc10473c38df162daa7b41 (diff) | |
| download | rust-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
