2020-07-19 12:03:35 -05:00
|
|
|
warning: unresolved link to `Foo::baz`
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/intra-links-warning.rs:3:23
|
2018-05-27 12:46:59 -05:00
|
|
|
|
|
2018-09-19 18:39:39 -05:00
|
|
|
LL | //! Test with [Foo::baz], [Bar::foo], ...
|
2020-09-11 12:42:56 -05:00
|
|
|
| ^^^^^^^^ the struct `Foo` has no field or associated item named `baz`
|
2018-06-09 10:20:58 -05:00
|
|
|
|
|
2020-07-30 12:38:55 -05:00
|
|
|
= note: `#[warn(broken_intra_doc_links)]` on by default
|
2018-06-06 02:30:25 -05:00
|
|
|
|
2020-07-19 12:03:35 -05:00
|
|
|
warning: unresolved link to `Bar::foo`
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/intra-links-warning.rs:3:35
|
2018-06-03 05:22:24 -05:00
|
|
|
|
|
2018-09-19 18:39:39 -05:00
|
|
|
LL | //! Test with [Foo::baz], [Bar::foo], ...
|
2020-09-19 23:32:00 -05:00
|
|
|
| ^^^^^^^^ the module `intra_links_warning` contains no item named `Bar`
|
2018-04-01 14:06:35 -05:00
|
|
|
|
2020-07-19 12:03:35 -05:00
|
|
|
warning: unresolved link to `Uniooon::X`
|
2019-11-07 18:00:00 -06:00
|
|
|
--> $DIR/intra-links-warning.rs:6:13
|
2018-05-27 12:46:59 -05:00
|
|
|
|
|
2018-09-19 18:39:39 -05:00
|
|
|
LL | //! , [Uniooon::X] and [Qux::Z].
|
2020-09-19 23:32:00 -05:00
|
|
|
| ^^^^^^^^^^ the module `intra_links_warning` contains no item named `Uniooon`
|
2018-06-06 02:30:25 -05:00
|
|
|
|
2020-07-19 12:03:35 -05:00
|
|
|
warning: unresolved link to `Qux::Z`
|
2019-11-07 18:00:00 -06:00
|
|
|
--> $DIR/intra-links-warning.rs:6:30
|
2018-06-03 05:22:24 -05:00
|
|
|
|
|
2018-09-19 18:39:39 -05:00
|
|
|
LL | //! , [Uniooon::X] and [Qux::Z].
|
2020-09-19 23:32:00 -05:00
|
|
|
| ^^^^^^ the module `intra_links_warning` contains no item named `Qux`
|
2018-04-01 14:06:35 -05:00
|
|
|
|
2020-07-19 12:03:35 -05:00
|
|
|
warning: unresolved link to `Uniooon::X`
|
2019-11-07 18:00:00 -06:00
|
|
|
--> $DIR/intra-links-warning.rs:10:14
|
2018-05-27 12:46:59 -05:00
|
|
|
|
|
2018-09-19 18:39:39 -05:00
|
|
|
LL | //! , [Uniooon::X] and [Qux::Z].
|
2020-09-19 23:32:00 -05:00
|
|
|
| ^^^^^^^^^^ the module `intra_links_warning` contains no item named `Uniooon`
|
2018-06-06 02:30:25 -05:00
|
|
|
|
2020-07-19 12:03:35 -05:00
|
|
|
warning: unresolved link to `Qux::Z`
|
2019-11-07 18:00:00 -06:00
|
|
|
--> $DIR/intra-links-warning.rs:10:31
|
2018-06-06 02:30:25 -05:00
|
|
|
|
|
2018-09-19 18:39:39 -05:00
|
|
|
LL | //! , [Uniooon::X] and [Qux::Z].
|
2020-09-19 23:32:00 -05:00
|
|
|
| ^^^^^^ the module `intra_links_warning` contains no item named `Qux`
|
2018-06-06 02:30:25 -05:00
|
|
|
|
2020-07-19 12:03:35 -05:00
|
|
|
warning: unresolved link to `Qux:Y`
|
2019-11-07 18:00:00 -06:00
|
|
|
--> $DIR/intra-links-warning.rs:14:13
|
2018-06-03 05:22:24 -05:00
|
|
|
|
|
2018-09-19 18:39:39 -05:00
|
|
|
LL | /// [Qux:Y]
|
2020-09-19 23:32:00 -05:00
|
|
|
| ^^^^^ the module `intra_links_warning` contains no item named `Qux:Y`
|
2018-06-09 10:30:22 -05:00
|
|
|
|
|
2020-07-19 12:03:35 -05:00
|
|
|
= help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
|
2018-04-01 14:06:35 -05:00
|
|
|
|
2020-07-19 12:03:35 -05:00
|
|
|
warning: unresolved link to `error`
|
2019-11-07 18:00:00 -06:00
|
|
|
--> $DIR/intra-links-warning.rs:58:30
|
2018-12-10 11:24:39 -06:00
|
|
|
|
|
|
|
|
LL | * time to introduce a link [error]*/
|
2020-09-19 23:32:00 -05:00
|
|
|
| ^^^^^ the module `intra_links_warning` contains no item named `error`
|
2018-12-10 11:24:39 -06:00
|
|
|
|
|
2020-07-19 12:03:35 -05:00
|
|
|
= help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
|
2018-12-10 11:24:39 -06:00
|
|
|
|
2020-07-19 12:03:35 -05:00
|
|
|
warning: unresolved link to `error`
|
2019-11-07 18:00:00 -06:00
|
|
|
--> $DIR/intra-links-warning.rs:64:30
|
2018-12-10 11:24:39 -06:00
|
|
|
|
|
|
|
|
LL | * time to introduce a link [error]
|
2020-09-19 23:32:00 -05:00
|
|
|
| ^^^^^ the module `intra_links_warning` contains no item named `error`
|
2018-12-10 11:24:39 -06:00
|
|
|
|
|
2020-07-19 12:03:35 -05:00
|
|
|
= help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
|
2018-12-10 11:24:39 -06:00
|
|
|
|
2020-07-19 12:03:35 -05:00
|
|
|
warning: unresolved link to `error`
|
2019-11-07 18:00:00 -06:00
|
|
|
--> $DIR/intra-links-warning.rs:68:1
|
2018-12-10 11:24:39 -06:00
|
|
|
|
|
|
|
|
LL | #[doc = "single line [error]"]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
= note: the link appears in this line:
|
|
|
|
|
|
|
|
single line [error]
|
|
|
|
^^^^^
|
2020-09-19 23:32:00 -05:00
|
|
|
= note: the module `intra_links_warning` contains no item named `error`
|
2020-07-19 12:03:35 -05:00
|
|
|
= help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
|
2018-12-10 11:24:39 -06:00
|
|
|
|
2020-07-19 12:03:35 -05:00
|
|
|
warning: unresolved link to `error`
|
2019-11-07 18:00:00 -06:00
|
|
|
--> $DIR/intra-links-warning.rs:71:1
|
2018-12-10 11:24:39 -06:00
|
|
|
|
|
2019-03-12 23:47:36 -05:00
|
|
|
LL | #[doc = "single line with \"escaping\" [error]"]
|
2018-12-10 11:24:39 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
= note: the link appears in this line:
|
|
|
|
|
|
|
|
single line with "escaping" [error]
|
|
|
|
^^^^^
|
2020-09-19 23:32:00 -05:00
|
|
|
= note: the module `intra_links_warning` contains no item named `error`
|
2020-07-19 12:03:35 -05:00
|
|
|
= help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
|
2018-12-10 11:24:39 -06:00
|
|
|
|
2020-07-19 12:03:35 -05:00
|
|
|
warning: unresolved link to `error`
|
2019-11-07 18:00:00 -06:00
|
|
|
--> $DIR/intra-links-warning.rs:74:1
|
2018-12-10 11:24:39 -06:00
|
|
|
|
|
|
|
|
LL | / /// Item docs.
|
|
|
|
LL | | #[doc="Hello there!"]
|
|
|
|
LL | | /// [error]
|
|
|
|
| |___________^
|
|
|
|
|
|
|
|
|
= note: the link appears in this line:
|
|
|
|
|
2019-02-20 15:20:01 -06:00
|
|
|
[error]
|
|
|
|
^^^^^
|
2020-09-19 23:32:00 -05:00
|
|
|
= note: the module `intra_links_warning` contains no item named `error`
|
2020-07-19 12:03:35 -05:00
|
|
|
= help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
|
2018-12-10 11:24:39 -06:00
|
|
|
|
2020-07-19 12:03:35 -05:00
|
|
|
warning: unresolved link to `error1`
|
2019-11-07 18:00:00 -06:00
|
|
|
--> $DIR/intra-links-warning.rs:80:11
|
2018-12-10 11:24:39 -06:00
|
|
|
|
|
|
|
|
LL | /// docs [error1]
|
2020-09-19 23:32:00 -05:00
|
|
|
| ^^^^^^ the module `intra_links_warning` contains no item named `error1`
|
2018-12-10 11:24:39 -06:00
|
|
|
|
|
2020-07-19 12:03:35 -05:00
|
|
|
= help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
|
2018-12-10 11:24:39 -06:00
|
|
|
|
2020-07-19 12:03:35 -05:00
|
|
|
warning: unresolved link to `error2`
|
2019-11-07 18:00:00 -06:00
|
|
|
--> $DIR/intra-links-warning.rs:82:11
|
2018-12-10 11:24:39 -06:00
|
|
|
|
|
|
|
|
LL | /// docs [error2]
|
2020-09-19 23:32:00 -05:00
|
|
|
| ^^^^^^ the module `intra_links_warning` contains no item named `error2`
|
2018-12-10 11:24:39 -06:00
|
|
|
|
|
2020-07-19 12:03:35 -05:00
|
|
|
= help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
|
2018-12-10 11:24:39 -06:00
|
|
|
|
2020-07-19 12:03:35 -05:00
|
|
|
warning: unresolved link to `BarA`
|
2019-11-07 18:00:00 -06:00
|
|
|
--> $DIR/intra-links-warning.rs:21:10
|
2018-06-06 11:14:09 -05:00
|
|
|
|
|
2018-09-19 18:39:39 -05:00
|
|
|
LL | /// bar [BarA] bar
|
2020-09-19 23:32:00 -05:00
|
|
|
| ^^^^ the module `intra_links_warning` contains no item named `BarA`
|
2018-06-09 10:30:22 -05:00
|
|
|
|
|
2020-07-19 12:03:35 -05:00
|
|
|
= help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
|
2018-06-06 11:14:09 -05:00
|
|
|
|
2020-07-19 12:03:35 -05:00
|
|
|
warning: unresolved link to `BarB`
|
2019-11-07 18:00:00 -06:00
|
|
|
--> $DIR/intra-links-warning.rs:27:9
|
2018-06-06 11:14:09 -05:00
|
|
|
|
|
2018-12-10 11:24:39 -06:00
|
|
|
LL | * bar [BarB] bar
|
2020-09-19 23:32:00 -05:00
|
|
|
| ^^^^ the module `intra_links_warning` contains no item named `BarB`
|
2018-06-06 11:14:09 -05:00
|
|
|
|
|
2020-07-19 12:03:35 -05:00
|
|
|
= help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
|
2018-06-06 11:14:09 -05:00
|
|
|
|
2020-07-19 12:03:35 -05:00
|
|
|
warning: unresolved link to `BarC`
|
2019-11-07 18:00:00 -06:00
|
|
|
--> $DIR/intra-links-warning.rs:34:6
|
2018-06-06 11:14:09 -05:00
|
|
|
|
|
2018-12-10 11:24:39 -06:00
|
|
|
LL | bar [BarC] bar
|
2020-09-19 23:32:00 -05:00
|
|
|
| ^^^^ the module `intra_links_warning` contains no item named `BarC`
|
2018-06-06 11:14:09 -05:00
|
|
|
|
|
2020-07-19 12:03:35 -05:00
|
|
|
= help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
|
2018-06-06 11:14:09 -05:00
|
|
|
|
2020-07-19 12:03:35 -05:00
|
|
|
warning: unresolved link to `BarD`
|
2019-11-07 18:00:00 -06:00
|
|
|
--> $DIR/intra-links-warning.rs:45:1
|
2018-06-06 11:14:09 -05:00
|
|
|
|
|
2019-03-12 23:47:36 -05:00
|
|
|
LL | #[doc = "Foo\nbar [BarD] bar\nbaz"]
|
2018-06-06 11:14:09 -05:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
= note: the link appears in this line:
|
|
|
|
|
|
|
|
bar [BarD] bar
|
|
|
|
^^^^
|
2020-09-19 23:32:00 -05:00
|
|
|
= note: the module `intra_links_warning` contains no item named `BarD`
|
2020-07-19 12:03:35 -05:00
|
|
|
= help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
|
2018-06-06 11:14:09 -05:00
|
|
|
|
2020-07-19 12:03:35 -05:00
|
|
|
warning: unresolved link to `BarF`
|
2019-11-07 18:00:00 -06:00
|
|
|
--> $DIR/intra-links-warning.rs:50:9
|
2018-06-06 11:14:09 -05:00
|
|
|
|
|
2018-09-19 18:39:39 -05:00
|
|
|
LL | #[doc = $f]
|
2018-06-06 11:14:09 -05:00
|
|
|
| ^^^^^^^^^^^
|
|
|
|
...
|
2019-03-12 23:47:36 -05:00
|
|
|
LL | f!("Foo\nbar [BarF] bar\nbaz");
|
2018-06-06 11:14:09 -05:00
|
|
|
| ------------------------------- in this macro invocation
|
|
|
|
|
|
|
|
|
= note: the link appears in this line:
|
|
|
|
|
|
|
|
bar [BarF] bar
|
|
|
|
^^^^
|
2020-09-19 23:32:00 -05:00
|
|
|
= note: the module `intra_links_warning` contains no item named `BarF`
|
2020-07-19 12:03:35 -05:00
|
|
|
= help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
|
2019-12-16 07:56:47 -06:00
|
|
|
= note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
|
2018-06-06 11:14:09 -05:00
|
|
|
|
2020-03-11 10:30:09 -05:00
|
|
|
warning: 19 warnings emitted
|
|
|
|
|