diff options
| author | Oliver Scherer <github35764891676564198441@oli-obk.de> | 2019-10-19 13:00:23 +0200 |
|---|---|---|
| committer | Oliver Scherer <github35764891676564198441@oli-obk.de> | 2019-11-06 11:04:42 +0100 |
| commit | 954fc719627cb608edee67cf2bf63547f7a31b05 (patch) | |
| tree | d971539aaf9e4391caa0c4545fd6e9fada6f106b /src/libcore/any.rs | |
| parent | 02f9167f94a06900ee555a5797081a44ebba009e (diff) | |
| download | rust-954fc719627cb608edee67cf2bf63547f7a31b05.tar.gz rust-954fc719627cb608edee67cf2bf63547f7a31b05.zip | |
Halloween... time to get rid of 👻
Diffstat (limited to 'src/libcore/any.rs')
| -rw-r--r-- | src/libcore/any.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcore/any.rs b/src/libcore/any.rs index 681f341b544..39a5dd7263c 100644 --- a/src/libcore/any.rs +++ b/src/libcore/any.rs @@ -426,10 +426,10 @@ impl TypeId { #[rustc_const_unstable(feature="const_type_id")] pub const fn of<T: ?Sized + 'static>() -> TypeId { TypeId { - #[cfg(boostrap_stdarch_ignore_this)] + #[cfg(bootstrap)] // SAFETY: going away soon t: unsafe { intrinsics::type_id::<T>() }, - #[cfg(not(boostrap_stdarch_ignore_this))] + #[cfg(not(bootstrap))] t: intrinsics::type_id::<T>(), } } |
