diff options
| author | Guillaume Gomez <guillaume.gomez@huawei.com> | 2023-10-11 11:33:51 +0200 |
|---|---|---|
| committer | Guillaume Gomez <guillaume.gomez@huawei.com> | 2023-10-11 11:41:39 +0200 |
| commit | efac0b9c024ebd960fe0e22ea06c0c6030759bf1 (patch) | |
| tree | ec36443a384059ccedb939c21d182fcb89ed2dcb /tests/rustdoc-js/search-non-local-trait-impl.js | |
| parent | a314707867141365e862624419b04788694b9169 (diff) | |
| download | rust-efac0b9c024ebd960fe0e22ea06c0c6030759bf1.tar.gz rust-efac0b9c024ebd960fe0e22ea06c0c6030759bf1.zip | |
Add regression test for #115480
Diffstat (limited to 'tests/rustdoc-js/search-non-local-trait-impl.js')
| -rw-r--r-- | tests/rustdoc-js/search-non-local-trait-impl.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/rustdoc-js/search-non-local-trait-impl.js b/tests/rustdoc-js/search-non-local-trait-impl.js new file mode 100644 index 00000000000..9ebeceb69f9 --- /dev/null +++ b/tests/rustdoc-js/search-non-local-trait-impl.js @@ -0,0 +1,9 @@ +// exact-check + +// This test ensures that methods from blanket impls of not available foreign traits +// don't show up in the search results. + +const EXPECTED = { + 'query': 'equivalent', + 'others': [], +}; |
