about summary refs log tree commit diff
path: root/src/test/ui/thinlto
diff options
context:
space:
mode:
authorJohnathan Van Why <jrvanwhy@google.com>2019-01-22 15:02:57 -0800
committerJohnathan Van Why <jrvanwhy@google.com>2019-01-22 15:02:57 -0800
commit0c54d2d12ee21f53657e76bf7d2ace9445520ff5 (patch)
treee18f3833e5aa8d3f37b873b733839c428ba1e0b5 /src/test/ui/thinlto
parentad30e9a6814b5d29dfbdcd85ecde48afcc94389b (diff)
downloadrust-0c54d2d12ee21f53657e76bf7d2ace9445520ff5.tar.gz
rust-0c54d2d12ee21f53657e76bf7d2ace9445520ff5.zip
Mention that core::intrinsics::transmute is available at core::mem::transmute.
In #[no_std] environments, std::mem::transmute is unavailable. Searching for transmute in libcore only pulls up core::intrinsics::transmute, which is behind the (unstable) core_intrinsics feature flag. Users wishing to use transmute in #[no_std] environments typically should use core::mem::transmute instead, as it is stable. This documentation makes core::mem::transmute discoverable.
Diffstat (limited to 'src/test/ui/thinlto')
0 files changed, 0 insertions, 0 deletions