Skip to content

Commit c4d002b

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

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
@@ -250,13 +250,6 @@ pub mod autodiff {
250250
pub use crate::macros::builtin::autodiff;
251251
}
252252

253-
#[cfg(not(bootstrap))]
254-
#[unstable(feature = "eii", issue = "none")]
255-
pub use crate::macros::builtin::eii;
256-
#[cfg(not(bootstrap))]
257-
#[unstable(feature = "eii_internals", issue = "none")]
258-
pub use crate::macros::builtin::eii_macro_for;
259-
260253
#[unstable(feature = "contracts", issue = "128044")]
261254
pub mod contracts;
262255

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)