diff options
| author | binarycat <binarycat@envs.net> | 2024-10-24 19:50:54 -0500 |
|---|---|---|
| committer | binarycat <binarycat@envs.net> | 2024-10-25 12:19:04 -0500 |
| commit | 09773b4f24841c5ff3b2ba035e3b9772a58f6178 (patch) | |
| tree | e4a3e83f35c25218df00ac46ba20533d2a01f4bb /tests/rustdoc-js/extern-func.js | |
| parent | bed75e7c21e8d18bd536a0f7c9e479d2f6707db3 (diff) | |
| download | rust-09773b4f24841c5ff3b2ba035e3b9772a58f6178.tar.gz rust-09773b4f24841c5ff3b2ba035e3b9772a58f6178.zip | |
allow type-based search on foreign functions
fixes https://github.com/rust-lang/rust/issues/131804
Diffstat (limited to 'tests/rustdoc-js/extern-func.js')
| -rw-r--r-- | tests/rustdoc-js/extern-func.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/rustdoc-js/extern-func.js b/tests/rustdoc-js/extern-func.js new file mode 100644 index 00000000000..a3fe2d8ea42 --- /dev/null +++ b/tests/rustdoc-js/extern-func.js @@ -0,0 +1,8 @@ +const EXPECTED = [ + { + 'query': 'c_float -> c_float', + 'others': [ + { 'path': 'extern_func', 'name': 'sqrt' } + ], + }, +]; |
