]> git.proxmox.com Git - rustc.git/blob - tests/rustdoc-js/generics-unbox.js
New upstream version 1.74.1+dfsg1
[rustc.git] / tests / rustdoc-js / generics-unbox.js
1 // exact-check
2
3 const EXPECTED = [
4 {
5 'query': 'Inside<T> -> Out1<T>',
6 'others': [
7 { 'path': 'generics_unbox', 'name': 'alpha' },
8 ],
9 },
10 {
11 'query': 'Inside<T> -> Out3<T>',
12 'others': [
13 { 'path': 'generics_unbox', 'name': 'beta' },
14 { 'path': 'generics_unbox', 'name': 'gamma' },
15 ],
16 },
17 {
18 'query': 'Inside<T> -> Out4<T>',
19 'others': [
20 { 'path': 'generics_unbox', 'name': 'beta' },
21 { 'path': 'generics_unbox', 'name': 'gamma' },
22 ],
23 },
24 {
25 'query': 'Inside<T> -> Out3<U, T>',
26 'others': [
27 { 'path': 'generics_unbox', 'name': 'beta' },
28 { 'path': 'generics_unbox', 'name': 'gamma' },
29 ],
30 },
31 {
32 'query': 'Inside<T> -> Out4<U, T>',
33 'others': [
34 { 'path': 'generics_unbox', 'name': 'beta' },
35 { 'path': 'generics_unbox', 'name': 'gamma' },
36 ],
37 },
38 ];