diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-19 09:25:53 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-19 09:25:53 +0000 |
commit | 73e0a5b7696ea019ba35b89f38fc8e7b285d99cb (patch) | |
tree | 0d2e175af6f114cb50a675bec0bc76e12e1bceb4 /tests/rustdoc-js/generics2.js | |
parent | Adding upstream version 1.75.0+dfsg1. (diff) | |
download | rustc-upstream.tar.xz rustc-upstream.zip |
Adding upstream version 1.76.0+dfsg1.upstream/1.76.0+dfsg1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/rustdoc-js/generics2.js')
-rw-r--r-- | tests/rustdoc-js/generics2.js | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/tests/rustdoc-js/generics2.js b/tests/rustdoc-js/generics2.js new file mode 100644 index 000000000..f08704349 --- /dev/null +++ b/tests/rustdoc-js/generics2.js @@ -0,0 +1,22 @@ +// exact-check + +const EXPECTED = [ + { + 'query': 'outside<U>, outside<V> -> outside<W>', + 'others': [], + }, + { + 'query': 'outside<V>, outside<U> -> outside<W>', + 'others': [], + }, + { + 'query': 'outside<U>, outside<U> -> outside<W>', + 'others': [], + }, + { + 'query': 'outside<U>, outside<U> -> outside<U>', + 'others': [ + {"path": "generics2", "name": "should_match_3"} + ], + }, +]; |