fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
2.1 KiB82 linesraw
1// run-rustfix
2#![deny(rustdoc::invalid_html_tags)]
3
4/// This `Vec<i32>` thing!
5//~^ERROR unclosed HTML tag `i32`
6//~|HELP try marking as source
7pub struct Generic;
8
9/// This `vec::Vec<i32>` thing!
10//~^ERROR unclosed HTML tag `i32`
11//~|HELP try marking as source
12pub struct GenericPath;
13
14/// This `i32<i32>` thing!
15//~^ERROR unclosed HTML tag `i32`
16//~|HELP try marking as source
17pub struct PathsCanContainTrailingNumbers;
18
19/// This `Vec::<i32>` thing!
20//~^ERROR unclosed HTML tag `i32`
21//~|HELP try marking as source
22pub struct Turbofish;
23
24/// This [link](https://rust-lang.org)`::<i32>` thing!
25//~^ERROR unclosed HTML tag `i32`
26//~|HELP try marking as source
27pub struct BareTurbofish;
28
29/// This <span>`Vec::<i32>`</span> thing!
30//~^ERROR unclosed HTML tag `i32`
31//~|HELP try marking as source
32pub struct Nested;
33
34/// Nested generics `Vec<Vec<u32>>`
35//~^ ERROR unclosed HTML tag `u32`
36//~|HELP try marking as source
37pub struct NestedGenerics;
38
39/// Generics with path `Vec<i32>::Iter`
40//~^ ERROR unclosed HTML tag `i32`
41//~|HELP try marking as source
42pub struct GenericsWithPath;
43
44/// Generics with path `<Vec<i32>>::Iter`
45//~^ ERROR unclosed HTML tag `i32`
46//~|HELP try marking as source
47pub struct NestedGenericsWithPath;
48
49/// Generics with path `Vec<Vec<i32>>::Iter`
50//~^ ERROR unclosed HTML tag `i32`
51//~|HELP try marking as source
52pub struct NestedGenericsWithPath2;
53
54/// Generics with bump `<Vec<i32>>`s
55//~^ ERROR unclosed HTML tag `i32`
56//~|HELP try marking as source
57pub struct NestedGenericsWithBump;
58
59/// Generics with bump `Vec<Vec<i32>>`s
60//~^ ERROR unclosed HTML tag `i32`
61//~|HELP try marking as source
62pub struct NestedGenericsWithBump2;
63
64/// Generics with punct `<Vec<i32>>`!
65//~^ ERROR unclosed HTML tag `i32`
66//~|HELP try marking as source
67pub struct NestedGenericsWithPunct;
68
69/// Generics with punct `Vec<Vec<i32>>`!
70//~^ ERROR unclosed HTML tag `i32`
71//~|HELP try marking as source
72pub struct NestedGenericsWithPunct2;
73
74/// This [`Vec<i32>`] thing!
75//~^ERROR unclosed HTML tag `i32`
76//~|HELP try marking as source
77pub struct IntraDocLink;
78
79/// This [`Vec::<i32>`] thing!
80//~^ERROR unclosed HTML tag `i32`
81//~|HELP try marking as source
82pub struct IntraDocLinkTurbofish;