diff options
| author | nils <48135649+Nilstrieb@users.noreply.github.com> | 2022-12-01 11:16:18 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-12-01 11:16:18 +0100 |
| commit | efea79ca80289be333bf6052015c645b19a32132 (patch) | |
| tree | e8b255d516522f9015b5e685ae88aa76f1acff16 /library/std/src | |
| parent | 2c7d32b4f487d5712d8520d97434aa9616ad7267 (diff) | |
| download | rust-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.rs | 1 |
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, |
