
This ensures `std::intrinsics::transmute` is deemphasized in the search engine and other UI, by cleaning it into a deprecation without propagating it through reexports when the parent module is stable.
14 lines
470 B
JavaScript
14 lines
470 B
JavaScript
// should-fail
|
|
const FILTER_CRATE = "std";
|
|
const EXPECTED = [
|
|
{
|
|
// Keep this test case identical to `transmute`, except the
|
|
// should-fail tag and the search query below:
|
|
'query': 'generic:T -> generic:T',
|
|
'others': [
|
|
{ 'path': 'std::intrinsics::simd', 'name': 'simd_as' },
|
|
{ 'path': 'std::intrinsics::simd', 'name': 'simd_cast' },
|
|
{ 'path': 'std::mem', 'name': 'transmute' },
|
|
],
|
|
},
|
|
];
|