rustc/tests/ui/simd/portable-intrinsics-arent-exposed.rs
2023-08-02 10:33:26 +02: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() {
()
}