diff options
| author | bors <bors@rust-lang.org> | 2015-12-16 08:15:23 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2015-12-16 08:15:23 +0000 |
| commit | ac2c5ff0241bdd090af11a74566bd00f03ae8ae0 (patch) | |
| tree | 780d1609c300fedd2dd9c7af17a0366d185c61aa /src/rustllvm/RustWrapper.cpp | |
| parent | 9ace0a46de9b47cfa93c4e906805455b221e2881 (diff) | |
| parent | 67a978411a2009093bb40c4f1320a08d2a28b6c7 (diff) | |
| download | rust-ac2c5ff0241bdd090af11a74566bd00f03ae8ae0.tar.gz rust-ac2c5ff0241bdd090af11a74566bd00f03ae8ae0.zip | |
Auto merge of #30206 - petrochenkov:newdepr, r=brson
Closes https://github.com/rust-lang/rust/issues/29935
The attributes `deprecated` and `rustc_deprecated` are completely independent in this implementation and it leads to some noticeable code duplication. Representing `deprecated` as
```
Stability {
level: Stable { since: "" },
feature: "",
depr: Some(Deprecation),
}
```
or, contrariwise, splitting rustc_deprecation from stability makes most of the duplication go away.
I can do this refactoring, but before doing it I must be sure, that further divergence of `deprecated` and `rustc_deprecated` is certainly not a goal.
cc @llogiq
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
