diff options
Diffstat (limited to 'src/librustc/lint/builtin.rs')
| -rw-r--r-- | src/librustc/lint/builtin.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc/lint/builtin.rs b/src/librustc/lint/builtin.rs index 8acf8b1032f..e73771649d5 100644 --- a/src/librustc/lint/builtin.rs +++ b/src/librustc/lint/builtin.rs @@ -1637,7 +1637,7 @@ impl Stability { // deprecated attributes apply in-crate and cross-crate let (lint, label) = match *stability { - Some(attr::Stability { level: attr::Deprecated, .. }) => + Some(attr::Stability { deprecated_since: Some(_), .. }) => (DEPRECATED, "deprecated"), _ => return }; |
