]> git.proxmox.com Git - rustc.git/blob - tests/ui/simd/portable-intrinsics-arent-exposed.rs
New upstream version 1.68.2+dfsg1
[rustc.git] / tests / 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 }