Skip to content

Commit 6de045f

Browse files
committed
Fixing ci issues
1 parent 7c89056 commit 6de045f

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

compiler/rustc_type_ir/src/lib.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
#![allow(rustc::usage_of_type_ir_inherent)]
66
#![allow(rustc::usage_of_type_ir_traits)]
77
#![cfg_attr(feature = "nightly", allow(internal_features))]
8-
#![cfg_attr(feature = "nightly", feature(associated_type_defaults, rustc_attrs, negative_impls))]
8+
#![cfg_attr(feature = "nightly", feature(associated_type_defaults, negative_impls))]
9+
#![feature(rustc_attrs)]
910
// tidy-alphabetical-end
1011

1112
extern crate self as rustc_type_ir;

compiler/rustc_type_ir/src/sty/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
use std::fmt;
22

33
use derive_where::derive_where;
4+
#[cfg(feature = "nightly")]
45
use rustc_data_structures::intern::Interned;
56
#[cfg(feature = "nightly")]
67
use rustc_macros::HashStable_NoContext;
@@ -128,6 +129,7 @@ impl<I: Interner> IntoKind for Region<I> {
128129
}
129130
}
130131

132+
#[cfg(feature = "nightly")]
131133
impl<'tcx, T: Copy> IntoKind for Interned<'tcx, T> {
132134
type Kind = T;
133135

0 commit comments

Comments
 (0)