Issue deprecation warnings for safe accesses to extern statics

This commit is contained in:
Vadim Petrochenkov
2016-08-26 19:23:42 +03:00
parent ea45edf0ee
commit aadbcffb7c
11 changed files with 123 additions and 16 deletions

View File

@@ -201,6 +201,10 @@ pub fn register_builtins(store: &mut lint::LintStore, sess: Option<&Session>) {
id: LintId::of(LIFETIME_UNDERSCORE),
reference: "RFC 1177 <https://github.com/rust-lang/rfcs/pull/1177>",
},
FutureIncompatibleInfo {
id: LintId::of(SAFE_EXTERN_STATICS),
reference: "issue 36247 <https://github.com/rust-lang/rust/issues/35112>",
},
]);
// Register renamed and removed lints