rust/tests/ui/simd/portable-intrinsics-arent-exposed.rs
2023-01-11 09:32:08 +00:00

10 lines
297 B
Rust

// May not matter, since people can use them with a nightly feature.
// However this tests to guarantee they don't leak out via portable_simd,
// and thus don't accidentally get stabilized.
use core::simd::intrinsics; //~ERROR E0433
use std::simd::intrinsics; //~ERROR E0432
fn main() {
()
}