diff options
| author | Andy Russell <arussell123@gmail.com> | 2016-11-13 15:56:23 -0500 |
|---|---|---|
| committer | Andy Russell <arussell123@gmail.com> | 2016-11-13 19:00:56 -0500 |
| commit | 30f75e396a82d9c84372d14708822d68f7cd36b3 (patch) | |
| tree | 9d251b6cea7b3f9648a9e8762d84d4de14e3c85a /src/libsyntax | |
| parent | ea02f87daab14fff71af751c8e3f66b689cac3cd (diff) | |
do not use deprecated text for unstable docs
Diffstat (limited to 'src/libsyntax')
| -rw-r--r-- | src/libsyntax/attr.rs | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/libsyntax/attr.rs b/src/libsyntax/attr.rs index 57a936bf9b0..2977e340a3c 100644 --- a/src/libsyntax/attr.rs +++ b/src/libsyntax/attr.rs @@ -789,9 +789,6 @@ fn find_stability_generic<'a, I>(diagnostic: &Handler, // Merge the deprecation info into the stability info if let Some(rustc_depr) = rustc_depr { if let Some(ref mut stab) = stab { - if let Unstable {reason: ref mut reason @ None, ..} = stab.level { - *reason = Some(rustc_depr.reason.clone()) - } stab.rustc_depr = Some(rustc_depr); } else { span_err!(diagnostic, item_sp, E0549, |
