about summary refs log tree commit diff
path: root/library/std/src
diff options
context:
space:
mode:
authornils <48135649+Nilstrieb@users.noreply.github.com>2022-12-01 11:16:18 +0100
committerGitHub <noreply@github.com>2022-12-01 11:16:18 +0100
commitefea79ca80289be333bf6052015c645b19a32132 (patch)
treee8b255d516522f9015b5e685ae88aa76f1acff16 /library/std/src
parent2c7d32b4f487d5712d8520d97434aa9616ad7267 (diff)
downloadrust-efea79ca80289be333bf6052015c645b19a32132.tar.gz
rust-efea79ca80289be333bf6052015c645b19a32132.zip
Gate macros behind `#[cfg(not(bootstrap))]`
Co-authored-by: Takayuki Maeda <takoyaki0316@gmail.com>
Diffstat (limited to 'library/std/src')
-rw-r--r--library/std/src/prelude/v1.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/library/std/src/prelude/v1.rs b/library/std/src/prelude/v1.rs
index 4ab4229598e..a5a798078eb 100644
--- a/library/std/src/prelude/v1.rs
+++ b/library/std/src/prelude/v1.rs
@@ -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,