diff options
| author | bors <bors@rust-lang.org> | 2025-07-20 10:06:53 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2025-07-20 10:06:53 +0000 |
| commit | ca9eecda36795789511e6e19500cb13b5a053fec (patch) | |
| tree | 5f24920a1452f1a8909558eb843cd2d0b3579535 /tests/rustdoc-js-std | |
| parent | 81af9d45698a19183b8552079cbc7bf893fad1e5 (diff) | |
| parent | faefaa0aeff3cc5c6bf1f8302eb829b98dd27046 (diff) | |
| download | rust-ca9eecda36795789511e6e19500cb13b5a053fec.tar.gz rust-ca9eecda36795789511e6e19500cb13b5a053fec.zip | |
Auto merge of #144208 - matthiaskrgr:rollup-wrli87h, r=matthiaskrgr
Rollup of 11 pull requests Successful merges: - rust-lang/rust#141260 (Allow volatile access to non-Rust memory, including address 0) - rust-lang/rust#143604 (Stabilize `const_float_round_methods`) - rust-lang/rust#143988 ([rustdoc] Make aliases search support partial matching) - rust-lang/rust#144078 (Fix debuginfo-lto-alloc.rs test) - rust-lang/rust#144111 (Remove deprecated `MaybeUninit` slice methods) - rust-lang/rust#144116 (Fixes for LLVM 21) - rust-lang/rust#144134 (Cleanup unicode table gen) - rust-lang/rust#144142 (Add implicit sized bound to trait ascription types) - rust-lang/rust#144148 (Remove pretty print hack for async blocks) - rust-lang/rust#144169 (interpret: fix TypeId pointers being considered data pointers) - rust-lang/rust#144196 (Initialize mingw for the runner's user) r? `@ghost` `@rustbot` modify labels: rollup
Diffstat (limited to 'tests/rustdoc-js-std')
| -rw-r--r-- | tests/rustdoc-js-std/alias-lev.js | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/rustdoc-js-std/alias-lev.js b/tests/rustdoc-js-std/alias-lev.js new file mode 100644 index 00000000000..17f3dc25d76 --- /dev/null +++ b/tests/rustdoc-js-std/alias-lev.js @@ -0,0 +1,11 @@ +// This test ensures that aliases are also allowed to be partially matched. + +// ignore-order + +const EXPECTED = { + // The full alias name is `getcwd`. + 'query': 'getcw', + 'others': [ + { 'path': 'std::env', 'name': 'current_dir', 'alias': 'getcwd' }, + ], +}; |
