File tree Expand file tree Collapse file tree 2 files changed +31
-0
lines changed Expand file tree Collapse file tree 2 files changed +31
-0
lines changed Original file line number Diff line number Diff line change
1
+ #![ deny( broken_intra_doc_links) ]
2
+
3
+ /// [somewhere]
4
+ //~^ ERROR unresolved link to `somewhere`
5
+ pub use std:: str:: * ;
6
+ /// [aloha]
7
+ //~^ ERROR unresolved link to `aloha`
8
+ pub use std:: task:: RawWakerVTable ;
Original file line number Diff line number Diff line change
1
+ error: unresolved link to `somewhere`
2
+ --> $DIR/pub-export-lint.rs:3:6
3
+ |
4
+ LL | /// [somewhere]
5
+ | ^^^^^^^^^ the module `pub_export_lint` contains no item named `somewhere`
6
+ |
7
+ note: the lint level is defined here
8
+ --> $DIR/pub-export-lint.rs:1:9
9
+ |
10
+ LL | #![deny(broken_intra_doc_links)]
11
+ | ^^^^^^^^^^^^^^^^^^^^^^
12
+ = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
13
+
14
+ error: unresolved link to `aloha`
15
+ --> $DIR/pub-export-lint.rs:6:6
16
+ |
17
+ LL | /// [aloha]
18
+ | ^^^^^ the module `pub_export_lint` contains no item named `aloha`
19
+ |
20
+ = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
21
+
22
+ error: aborting due to 2 previous errors
23
+
You can’t perform that action at this time.
0 commit comments