Skip to content

Commit e72ed5a

Browse files
m-ou-sejdonszelmann
authored andcommitted
Move eii macros to prelude.
1 parent c1df98d commit e72ed5a

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

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

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
reason = "`type_alias_impl_trait` has open design concerns"
120120
)]
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)