Skip to content

Commit 161849d

Browse files
m-ou-sejdonszelmann
authored andcommitted
Move eii macros to prelude.
1 parent c449220 commit 161849d

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
@@ -233,13 +233,6 @@ pub mod autodiff {
233233
pub use crate::macros::builtin::autodiff;
234234
}
235235

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

library/core/src/prelude/v1.rs

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

0 commit comments

Comments
 (0)