Logo
Explore Help
Register Sign In
rust-lang/rust
1
0
Fork 0
You've already forked rust
Code Issues Pull Requests Actions 2 Packages Projects Releases Wiki Activity
Files
48f5929604d04484f6e6d2f047e81ee5df127633
rust/tests/rustdoc-js-std/core-transmute.js

12 lines
336 B
JavaScript
Raw Normal View History

rustdoc: treat `allowed_through_unstable_modules` as deprecation 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.
2025-01-02 11:58:15 -07:00
const FILTER_CRATE = "core";
const EXPECTED = [
{
'query': 'generic:T -> generic:U',
'others': [
rustdoc search: prefer stable items in search results fixes https://github.com/rust-lang/rust/issues/138067
2025-05-27 12:42:25 -05:00
{ 'path': 'core::mem', 'name': 'transmute' },
rustdoc: treat `allowed_through_unstable_modules` as deprecation 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.
2025-01-02 11:58:15 -07:00
{ 'path': 'core::intrinsics::simd', 'name': 'simd_as' },
{ 'path': 'core::intrinsics::simd', 'name': 'simd_cast' },
],
},
];
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 174ms Template: 3ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API