]> git.lizzy.rs Git - rust.git/blob - src/test/ui/simd/portable-intrinsics-arent-exposed.rs
Auto merge of #101679 - compiler-errors:rpitit-default-body, r=nikomatsakis
[rust.git] / src / test / ui / simd / portable-intrinsics-arent-exposed.rs
1 // May not matter, since people can use them with a nightly feature.
2 // However this tests to guarantee they don't leak out via portable_simd,
3 // and thus don't accidentally get stabilized.
4 use core::simd::intrinsics; //~ERROR E0433
5 use std::simd::intrinsics; //~ERROR E0432
6
7 fn main() {
8     ()
9 }