]>
Commit | Line | Data |
---|---|---|
3dfed10e | 1 | warning: unresolved link to `Foo::baz` |
0731742a | 2 | --> $DIR/intra-links-warning.rs:3:23 |
94b46f34 | 3 | | |
0bf4aa26 | 4 | LL | //! Test with [Foo::baz], [Bar::foo], ... |
1b1a35ee | 5 | | ^^^^^^^^ the struct `Foo` has no field or associated item named `baz` |
94b46f34 | 6 | | |
3dfed10e | 7 | = note: `#[warn(broken_intra_doc_links)]` on by default |
83c7162d | 8 | |
3dfed10e | 9 | warning: unresolved link to `Bar::foo` |
0731742a | 10 | --> $DIR/intra-links-warning.rs:3:35 |
94b46f34 | 11 | | |
0bf4aa26 | 12 | LL | //! Test with [Foo::baz], [Bar::foo], ... |
1b1a35ee | 13 | | ^^^^^^^^ the module `intra_links_warning` contains no item named `Bar` |
83c7162d | 14 | |
3dfed10e | 15 | warning: unresolved link to `Uniooon::X` |
60c5eb7d | 16 | --> $DIR/intra-links-warning.rs:6:13 |
94b46f34 | 17 | | |
0bf4aa26 | 18 | LL | //! , [Uniooon::X] and [Qux::Z]. |
1b1a35ee | 19 | | ^^^^^^^^^^ the module `intra_links_warning` contains no item named `Uniooon` |
94b46f34 | 20 | |
3dfed10e | 21 | warning: unresolved link to `Qux::Z` |
60c5eb7d | 22 | --> $DIR/intra-links-warning.rs:6:30 |
94b46f34 | 23 | | |
0bf4aa26 | 24 | LL | //! , [Uniooon::X] and [Qux::Z]. |
1b1a35ee | 25 | | ^^^^^^ the module `intra_links_warning` contains no item named `Qux` |
94b46f34 | 26 | |
3dfed10e | 27 | warning: unresolved link to `Uniooon::X` |
60c5eb7d | 28 | --> $DIR/intra-links-warning.rs:10:14 |
94b46f34 | 29 | | |
0bf4aa26 | 30 | LL | //! , [Uniooon::X] and [Qux::Z]. |
1b1a35ee | 31 | | ^^^^^^^^^^ the module `intra_links_warning` contains no item named `Uniooon` |
94b46f34 | 32 | |
3dfed10e | 33 | warning: unresolved link to `Qux::Z` |
60c5eb7d | 34 | --> $DIR/intra-links-warning.rs:10:31 |
94b46f34 | 35 | | |
0bf4aa26 | 36 | LL | //! , [Uniooon::X] and [Qux::Z]. |
1b1a35ee | 37 | | ^^^^^^ the module `intra_links_warning` contains no item named `Qux` |
94b46f34 | 38 | |
3dfed10e | 39 | warning: unresolved link to `Qux:Y` |
60c5eb7d | 40 | --> $DIR/intra-links-warning.rs:14:13 |
94b46f34 | 41 | | |
0bf4aa26 | 42 | LL | /// [Qux:Y] |
1b1a35ee | 43 | | ^^^^^ the module `intra_links_warning` contains no item named `Qux:Y` |
94b46f34 | 44 | | |
3dfed10e | 45 | = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` |
94b46f34 | 46 | |
3dfed10e | 47 | warning: unresolved link to `error` |
60c5eb7d | 48 | --> $DIR/intra-links-warning.rs:58:30 |
0731742a XL |
49 | | |
50 | LL | * time to introduce a link [error]*/ | |
1b1a35ee | 51 | | ^^^^^ the module `intra_links_warning` contains no item named `error` |
0731742a | 52 | | |
3dfed10e | 53 | = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` |
0731742a | 54 | |
3dfed10e | 55 | warning: unresolved link to `error` |
60c5eb7d | 56 | --> $DIR/intra-links-warning.rs:64:30 |
0731742a XL |
57 | | |
58 | LL | * time to introduce a link [error] | |
1b1a35ee | 59 | | ^^^^^ the module `intra_links_warning` contains no item named `error` |
0731742a | 60 | | |
3dfed10e | 61 | = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` |
0731742a | 62 | |
3dfed10e | 63 | warning: unresolved link to `error` |
60c5eb7d | 64 | --> $DIR/intra-links-warning.rs:68:1 |
0731742a XL |
65 | | |
66 | LL | #[doc = "single line [error]"] | |
67 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
68 | | | |
69 | = note: the link appears in this line: | |
70 | ||
71 | single line [error] | |
72 | ^^^^^ | |
1b1a35ee | 73 | = note: the module `intra_links_warning` contains no item named `error` |
3dfed10e | 74 | = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` |
0731742a | 75 | |
3dfed10e | 76 | warning: unresolved link to `error` |
60c5eb7d | 77 | --> $DIR/intra-links-warning.rs:71:1 |
0731742a | 78 | | |
532ac7d7 | 79 | LL | #[doc = "single line with \"escaping\" [error]"] |
0731742a XL |
80 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
81 | | | |
82 | = note: the link appears in this line: | |
83 | ||
84 | single line with "escaping" [error] | |
85 | ^^^^^ | |
1b1a35ee | 86 | = note: the module `intra_links_warning` contains no item named `error` |
3dfed10e | 87 | = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` |
0731742a | 88 | |
3dfed10e | 89 | warning: unresolved link to `error` |
60c5eb7d | 90 | --> $DIR/intra-links-warning.rs:74:1 |
0731742a XL |
91 | | |
92 | LL | / /// Item docs. | |
93 | LL | | #[doc="Hello there!"] | |
94 | LL | | /// [error] | |
95 | | |___________^ | |
96 | | | |
97 | = note: the link appears in this line: | |
98 | ||
532ac7d7 XL |
99 | [error] |
100 | ^^^^^ | |
1b1a35ee | 101 | = note: the module `intra_links_warning` contains no item named `error` |
3dfed10e | 102 | = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` |
0731742a | 103 | |
3dfed10e | 104 | warning: unresolved link to `error1` |
60c5eb7d | 105 | --> $DIR/intra-links-warning.rs:80:11 |
0731742a XL |
106 | | |
107 | LL | /// docs [error1] | |
1b1a35ee | 108 | | ^^^^^^ the module `intra_links_warning` contains no item named `error1` |
0731742a | 109 | | |
3dfed10e | 110 | = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` |
0731742a | 111 | |
3dfed10e | 112 | warning: unresolved link to `error2` |
60c5eb7d | 113 | --> $DIR/intra-links-warning.rs:82:11 |
0731742a XL |
114 | | |
115 | LL | /// docs [error2] | |
1b1a35ee | 116 | | ^^^^^^ the module `intra_links_warning` contains no item named `error2` |
0731742a | 117 | | |
3dfed10e | 118 | = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` |
0731742a | 119 | |
3dfed10e | 120 | warning: unresolved link to `BarA` |
60c5eb7d | 121 | --> $DIR/intra-links-warning.rs:21:10 |
94b46f34 | 122 | | |
0bf4aa26 | 123 | LL | /// bar [BarA] bar |
1b1a35ee | 124 | | ^^^^ the module `intra_links_warning` contains no item named `BarA` |
94b46f34 | 125 | | |
3dfed10e | 126 | = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` |
94b46f34 | 127 | |
3dfed10e | 128 | warning: unresolved link to `BarB` |
60c5eb7d | 129 | --> $DIR/intra-links-warning.rs:27:9 |
94b46f34 | 130 | | |
0731742a | 131 | LL | * bar [BarB] bar |
1b1a35ee | 132 | | ^^^^ the module `intra_links_warning` contains no item named `BarB` |
94b46f34 | 133 | | |
3dfed10e | 134 | = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` |
94b46f34 | 135 | |
3dfed10e | 136 | warning: unresolved link to `BarC` |
60c5eb7d | 137 | --> $DIR/intra-links-warning.rs:34:6 |
94b46f34 | 138 | | |
0731742a | 139 | LL | bar [BarC] bar |
1b1a35ee | 140 | | ^^^^ the module `intra_links_warning` contains no item named `BarC` |
94b46f34 | 141 | | |
3dfed10e | 142 | = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` |
94b46f34 | 143 | |
3dfed10e | 144 | warning: unresolved link to `BarD` |
60c5eb7d | 145 | --> $DIR/intra-links-warning.rs:45:1 |
94b46f34 | 146 | | |
532ac7d7 | 147 | LL | #[doc = "Foo\nbar [BarD] bar\nbaz"] |
94b46f34 XL |
148 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
149 | | | |
150 | = note: the link appears in this line: | |
151 | ||
152 | bar [BarD] bar | |
153 | ^^^^ | |
1b1a35ee | 154 | = note: the module `intra_links_warning` contains no item named `BarD` |
3dfed10e | 155 | = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` |
94b46f34 | 156 | |
3dfed10e | 157 | warning: unresolved link to `BarF` |
60c5eb7d | 158 | --> $DIR/intra-links-warning.rs:50:9 |
94b46f34 | 159 | | |
0bf4aa26 | 160 | LL | #[doc = $f] |
94b46f34 XL |
161 | | ^^^^^^^^^^^ |
162 | ... | |
532ac7d7 | 163 | LL | f!("Foo\nbar [BarF] bar\nbaz"); |
94b46f34 XL |
164 | | ------------------------------- in this macro invocation |
165 | | | |
166 | = note: the link appears in this line: | |
167 | ||
168 | bar [BarF] bar | |
169 | ^^^^ | |
1b1a35ee | 170 | = note: the module `intra_links_warning` contains no item named `BarF` |
3dfed10e | 171 | = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` |
74b04a01 | 172 | = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) |
83c7162d | 173 | |
ba9703b0 XL |
174 | warning: 19 warnings emitted |
175 |