diff options
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 000000000..9ebeceb69 --- /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': [], +}; |