Make tyvar_behind_raw_pointer an epoch lint

This commit is contained in:
Manish Goregaokar 2018-03-08 09:37:37 -08:00
parent 29542ec85a
commit ae5ae846cd

View File

@ -275,7 +275,7 @@ pub fn register_builtins(store: &mut lint::LintStore, sess: Option<&Session>) {
FutureIncompatibleInfo {
id: LintId::of(TYVAR_BEHIND_RAW_POINTER),
reference: "issue #46906 <https://github.com/rust-lang/rust/issues/46906>",
epoch: None,
epoch: Some(Epoch::Epoch2018),
},
FutureIncompatibleInfo {
id: LintId::of(lint::builtin::BARE_TRAIT_OBJECT),