about summary refs log tree commit diff
path: root/src/libsyntax/errors
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2015-12-16 08:15:23 +0000
committerbors <bors@rust-lang.org>2015-12-16 08:15:23 +0000
commitac2c5ff0241bdd090af11a74566bd00f03ae8ae0 (patch)
tree780d1609c300fedd2dd9c7af17a0366d185c61aa /src/libsyntax/errors
parent9ace0a46de9b47cfa93c4e906805455b221e2881 (diff)
parent67a978411a2009093bb40c4f1320a08d2a28b6c7 (diff)
downloadrust-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/libsyntax/errors')
0 files changed, 0 insertions, 0 deletions