about summary refs log tree commit diff
path: root/tests/rustdoc-js-std/transmute.js
blob: f52e0ab14362d92af5f7f506bdd21cd391d46b31 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
const FILTER_CRATE = "std";
const EXPECTED = [
    {
        // Keep this test case identical to `transmute-fail`, except the
        // should-fail tag and the search query below:
        'query': 'generic:T -> generic:U',
        'others': [
            { 'path': 'std::intrinsics::simd', 'name': 'simd_as' },
            { 'path': 'std::intrinsics::simd', 'name': 'simd_cast' },
            { 'path': 'std::mem', 'name': 'transmute' },
        ],
    },
];