summaryrefslogtreecommitdiffstats
path: root/tests/ui/simd/portable-intrinsics-arent-exposed.rs
blob: 667c8b67b1d468e597855b561d83f793777f3901 (plain)
1
2
3
4
5
6
7
8
9
// 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() {
    ()
}