Issue deprecation warnings for safe accesses to extern statics
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user