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