Skip to content

Commit 66fdb05

Browse files
m-ou-sejdonszelmann
authored andcommitted
Move eii macros to prelude.
1 parent 607f7ce commit 66fdb05

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

library/core/src/lib.rs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -234,13 +234,6 @@ pub mod autodiff {
234234
pub use crate::macros::builtin::autodiff;
235235
}
236236

237-
#[cfg(not(bootstrap))]
238-
#[unstable(feature = "eii", issue = "none")]
239-
pub use crate::macros::builtin::eii;
240-
#[cfg(not(bootstrap))]
241-
#[unstable(feature = "eii_internals", issue = "none")]
242-
pub use crate::macros::builtin::eii_macro_for;
243-
244237
#[unstable(feature = "contracts", issue = "128044")]
245238
pub mod contracts;
246239

library/core/src/prelude/v1.rs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,3 +119,11 @@ pub use crate::macros::builtin::deref;
119119
)]
120120
#[cfg(not(bootstrap))]
121121
pub use crate::macros::builtin::define_opaque;
122+
123+
#[unstable(feature = "eii", issue = "none")]
124+
#[cfg(not(bootstrap))]
125+
pub use crate::macros::builtin::eii;
126+
127+
#[unstable(feature = "eii_internals", issue = "none")]
128+
#[cfg(not(bootstrap))]
129+
pub use crate::macros::builtin::eii_macro_for;

0 commit comments

Comments
 (0)