diff options
| author | Michael Howell <michael@notriddle.com> | 2023-03-03 20:23:00 -0700 |
|---|---|---|
| committer | Michael Howell <michael@notriddle.com> | 2023-03-04 09:05:57 -0700 |
| commit | 9d27028391c2e0fcb72527f2bc3aa4107d123a87 (patch) | |
| tree | cbfe05b5de166997ba2cc8e2da585bf17e77c8da /tests/rustdoc-js-std | |
| parent | 70adb4e5b4c8f8bde4ade0edcb0435ff7bf31281 (diff) | |
| download | rust-9d27028391c2e0fcb72527f2bc3aa4107d123a87.tar.gz rust-9d27028391c2e0fcb72527f2bc3aa4107d123a87.zip | |
rustdoc: function signature search with traits in `where` clause
Diffstat (limited to 'tests/rustdoc-js-std')
| -rw-r--r-- | tests/rustdoc-js-std/option-type-signatures.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/rustdoc-js-std/option-type-signatures.js b/tests/rustdoc-js-std/option-type-signatures.js new file mode 100644 index 00000000000..dee4819e81a --- /dev/null +++ b/tests/rustdoc-js-std/option-type-signatures.js @@ -0,0 +1,7 @@ +const QUERY = 'option, fnonce -> option'; + +const EXPECTED = { + 'others': [ + { 'path': 'std::option::Option', 'name': 'map' }, + ], +}; |
