Skip to content

Commit ae5ae84

Browse files
committed
Make tyvar_behind_raw_pointer an epoch lint
1 parent 29542ec commit ae5ae84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_lint/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ pub fn register_builtins(store: &mut lint::LintStore, sess: Option<&Session>) {
275275
FutureIncompatibleInfo {
276276
id: LintId::of(TYVAR_BEHIND_RAW_POINTER),
277277
reference: "issue #46906 <https://github.com/rust-lang/rust/issues/46906>",
278-
epoch: None,
278+
epoch: Some(Epoch::Epoch2018),
279279
},
280280
FutureIncompatibleInfo {
281281
id: LintId::of(lint::builtin::BARE_TRAIT_OBJECT),

0 commit comments

Comments
 (0)