1
Fork 0

Gate macros behind #[cfg(not(bootstrap))]

Co-authored-by: Takayuki Maeda <takoyaki0316@gmail.com>
This commit is contained in:
nils 2022-12-01 11:16:18 +01:00 committed by GitHub
parent 2c7d32b4f4
commit efea79ca80
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 11 deletions

View file

@ -91,6 +91,7 @@ pub use core::prelude::v1::cfg_eval;
issue = "23416",
reason = "placeholder syntax for type ascription"
)]
#[cfg(not(bootstrap))]
pub use core::prelude::v1::type_ascribe;
// The file so far is equivalent to src/libcore/prelude/v1.rs,