]> git.proxmox.com Git - rustc.git/blame - src/test/rustdoc-ui/intra-links-warning.stderr
New upstream version 1.48.0~beta.8+dfsg1
[rustc.git] / src / test / rustdoc-ui / intra-links-warning.stderr
CommitLineData
3dfed10e 1warning: unresolved link to `Foo::baz`
0731742a 2 --> $DIR/intra-links-warning.rs:3:23
94b46f34 3 |
0bf4aa26 4LL | //! 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 9warning: unresolved link to `Bar::foo`
0731742a 10 --> $DIR/intra-links-warning.rs:3:35
94b46f34 11 |
0bf4aa26 12LL | //! Test with [Foo::baz], [Bar::foo], ...
1b1a35ee 13 | ^^^^^^^^ the module `intra_links_warning` contains no item named `Bar`
83c7162d 14
3dfed10e 15warning: unresolved link to `Uniooon::X`
60c5eb7d 16 --> $DIR/intra-links-warning.rs:6:13
94b46f34 17 |
0bf4aa26 18LL | //! , [Uniooon::X] and [Qux::Z].
1b1a35ee 19 | ^^^^^^^^^^ the module `intra_links_warning` contains no item named `Uniooon`
94b46f34 20
3dfed10e 21warning: unresolved link to `Qux::Z`
60c5eb7d 22 --> $DIR/intra-links-warning.rs:6:30
94b46f34 23 |
0bf4aa26 24LL | //! , [Uniooon::X] and [Qux::Z].
1b1a35ee 25 | ^^^^^^ the module `intra_links_warning` contains no item named `Qux`
94b46f34 26
3dfed10e 27warning: unresolved link to `Uniooon::X`
60c5eb7d 28 --> $DIR/intra-links-warning.rs:10:14
94b46f34 29 |
0bf4aa26 30LL | //! , [Uniooon::X] and [Qux::Z].
1b1a35ee 31 | ^^^^^^^^^^ the module `intra_links_warning` contains no item named `Uniooon`
94b46f34 32
3dfed10e 33warning: unresolved link to `Qux::Z`
60c5eb7d 34 --> $DIR/intra-links-warning.rs:10:31
94b46f34 35 |
0bf4aa26 36LL | //! , [Uniooon::X] and [Qux::Z].
1b1a35ee 37 | ^^^^^^ the module `intra_links_warning` contains no item named `Qux`
94b46f34 38
3dfed10e 39warning: unresolved link to `Qux:Y`
60c5eb7d 40 --> $DIR/intra-links-warning.rs:14:13
94b46f34 41 |
0bf4aa26 42LL | /// [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 47warning: unresolved link to `error`
60c5eb7d 48 --> $DIR/intra-links-warning.rs:58:30
0731742a
XL
49 |
50LL | * 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 55warning: unresolved link to `error`
60c5eb7d 56 --> $DIR/intra-links-warning.rs:64:30
0731742a
XL
57 |
58LL | * 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 63warning: unresolved link to `error`
60c5eb7d 64 --> $DIR/intra-links-warning.rs:68:1
0731742a
XL
65 |
66LL | #[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 76warning: unresolved link to `error`
60c5eb7d 77 --> $DIR/intra-links-warning.rs:71:1
0731742a 78 |
532ac7d7 79LL | #[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 89warning: unresolved link to `error`
60c5eb7d 90 --> $DIR/intra-links-warning.rs:74:1
0731742a
XL
91 |
92LL | / /// Item docs.
93LL | | #[doc="Hello there!"]
94LL | | /// [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 104warning: unresolved link to `error1`
60c5eb7d 105 --> $DIR/intra-links-warning.rs:80:11
0731742a
XL
106 |
107LL | /// 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 112warning: unresolved link to `error2`
60c5eb7d 113 --> $DIR/intra-links-warning.rs:82:11
0731742a
XL
114 |
115LL | /// 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 120warning: unresolved link to `BarA`
60c5eb7d 121 --> $DIR/intra-links-warning.rs:21:10
94b46f34 122 |
0bf4aa26 123LL | /// 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 128warning: unresolved link to `BarB`
60c5eb7d 129 --> $DIR/intra-links-warning.rs:27:9
94b46f34 130 |
0731742a 131LL | * 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 136warning: unresolved link to `BarC`
60c5eb7d 137 --> $DIR/intra-links-warning.rs:34:6
94b46f34 138 |
0731742a 139LL | 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 144warning: unresolved link to `BarD`
60c5eb7d 145 --> $DIR/intra-links-warning.rs:45:1
94b46f34 146 |
532ac7d7 147LL | #[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 157warning: unresolved link to `BarF`
60c5eb7d 158 --> $DIR/intra-links-warning.rs:50:9
94b46f34 159 |
0bf4aa26 160LL | #[doc = $f]
94b46f34
XL
161 | ^^^^^^^^^^^
162...
532ac7d7 163LL | 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
174warning: 19 warnings emitted
175