diff options
| author | Mahmut Bulut <vertexclique@gmail.com> | 2019-06-14 16:55:36 +0300 |
|---|---|---|
| committer | Oliver Scherer <github35764891676564198441@oli-obk.de> | 2019-12-03 10:20:15 +0100 |
| commit | f1bacb2dca610b0babeba526020e2b87899c2d44 (patch) | |
| tree | dc79946f7e408b3e2d67ba1fb1df716061b85ceb /src/libcore | |
| parent | 4787e97475de6be9487e3d9255a9c2d3c0bf9252 (diff) | |
Check intrinsics for callability in const fns
Diffstat (limited to 'src/libcore')
| -rw-r--r-- | src/libcore/intrinsics.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libcore/intrinsics.rs b/src/libcore/intrinsics.rs index d4952f53bf7..19928f30f2e 100644 --- a/src/libcore/intrinsics.rs +++ b/src/libcore/intrinsics.rs @@ -939,6 +939,7 @@ extern "rust-intrinsic" { /// } /// ``` #[stable(feature = "rust1", since = "1.0.0")] + #[rustc_const_unstable(feature = "const_transmute")] pub fn transmute<T, U>(e: T) -> U; /// Returns `true` if the actual type given as `T` requires drop |
