rust/src/test/rustdoc-ui/intra-links-warning.stderr

180 lines
6.1 KiB
Plaintext
Raw Normal View History

2019-11-25 13:24:53 +00:00
warning: `[Foo::baz]` cannot be resolved, ignoring it.
2018-12-25 15:56:47 +00:00
--> $DIR/intra-links-warning.rs:3:23
|
2018-09-19 23:39:39 +00:00
LL | //! Test with [Foo::baz], [Bar::foo], ...
| ^^^^^^^^ cannot be resolved, ignoring
2018-06-09 15:20:58 +00:00
|
= note: `#[warn(intra_doc_link_resolution_failure)]` on by default
= help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]`
2019-11-25 13:24:53 +00:00
warning: `[Bar::foo]` cannot be resolved, ignoring it.
2018-12-25 15:56:47 +00:00
--> $DIR/intra-links-warning.rs:3:35
|
2018-09-19 23:39:39 +00:00
LL | //! Test with [Foo::baz], [Bar::foo], ...
| ^^^^^^^^ cannot be resolved, ignoring
2018-06-09 15:30:22 +00:00
|
= help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]`
2018-04-01 19:06:35 +00:00
2019-11-25 13:24:53 +00:00
warning: `[Uniooon::X]` cannot be resolved, ignoring it.
--> $DIR/intra-links-warning.rs:6:13
|
2018-09-19 23:39:39 +00:00
LL | //! , [Uniooon::X] and [Qux::Z].
| ^^^^^^^^^^ cannot be resolved, ignoring
2018-06-09 15:30:22 +00:00
|
= help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]`
2019-11-25 13:24:53 +00:00
warning: `[Qux::Z]` cannot be resolved, ignoring it.
--> $DIR/intra-links-warning.rs:6:30
|
2018-09-19 23:39:39 +00:00
LL | //! , [Uniooon::X] and [Qux::Z].
| ^^^^^^ cannot be resolved, ignoring
2018-06-09 15:30:22 +00:00
|
= help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]`
2018-04-01 19:06:35 +00:00
2019-11-25 13:24:53 +00:00
warning: `[Uniooon::X]` cannot be resolved, ignoring it.
--> $DIR/intra-links-warning.rs:10:14
|
2018-09-19 23:39:39 +00:00
LL | //! , [Uniooon::X] and [Qux::Z].
| ^^^^^^^^^^ cannot be resolved, ignoring
2018-06-09 15:30:22 +00:00
|
= help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]`
2019-11-25 13:24:53 +00:00
warning: `[Qux::Z]` cannot be resolved, ignoring it.
--> $DIR/intra-links-warning.rs:10:31
|
2018-09-19 23:39:39 +00:00
LL | //! , [Uniooon::X] and [Qux::Z].
| ^^^^^^ cannot be resolved, ignoring
2018-06-09 15:30:22 +00:00
|
= help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]`
2019-11-25 13:24:53 +00:00
warning: `[Qux:Y]` cannot be resolved, ignoring it.
--> $DIR/intra-links-warning.rs:14:13
|
2018-09-19 23:39:39 +00:00
LL | /// [Qux:Y]
| ^^^^^ cannot be resolved, ignoring
2018-06-09 15:30:22 +00:00
|
= help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]`
2018-04-01 19:06:35 +00:00
2019-11-25 13:24:53 +00:00
warning: `[error]` cannot be resolved, ignoring it.
--> $DIR/intra-links-warning.rs:58:30
|
LL | * time to introduce a link [error]*/
| ^^^^^ cannot be resolved, ignoring
|
= help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]`
2019-11-25 13:24:53 +00:00
warning: `[error]` cannot be resolved, ignoring it.
--> $DIR/intra-links-warning.rs:64:30
|
LL | * time to introduce a link [error]
| ^^^^^ cannot be resolved, ignoring
|
= help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]`
2019-11-25 13:24:53 +00:00
warning: `[error]` cannot be resolved, ignoring it.
--> $DIR/intra-links-warning.rs:68:1
|
LL | #[doc = "single line [error]"]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: the link appears in this line:
single line [error]
^^^^^
= help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]`
2019-11-25 13:24:53 +00:00
warning: `[error]` cannot be resolved, ignoring it.
--> $DIR/intra-links-warning.rs:71:1
|
LL | #[doc = "single line with \"escaping\" [error]"]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: the link appears in this line:
single line with "escaping" [error]
^^^^^
= help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]`
2019-11-25 13:24:53 +00:00
warning: `[error]` cannot be resolved, ignoring it.
--> $DIR/intra-links-warning.rs:74:1
|
LL | / /// Item docs.
LL | | #[doc="Hello there!"]
LL | | /// [error]
| |___________^
|
= note: the link appears in this line:
[error]
^^^^^
= help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]`
2019-11-25 13:24:53 +00:00
warning: `[error1]` cannot be resolved, ignoring it.
--> $DIR/intra-links-warning.rs:80:11
|
LL | /// docs [error1]
| ^^^^^^ cannot be resolved, ignoring
|
= help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]`
2019-11-25 13:24:53 +00:00
warning: `[error2]` cannot be resolved, ignoring it.
--> $DIR/intra-links-warning.rs:82:11
|
LL | /// docs [error2]
| ^^^^^^ cannot be resolved, ignoring
|
= help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]`
2019-11-25 13:24:53 +00:00
warning: `[BarA]` cannot be resolved, ignoring it.
--> $DIR/intra-links-warning.rs:21:10
|
2018-09-19 23:39:39 +00:00
LL | /// bar [BarA] bar
| ^^^^ cannot be resolved, ignoring
2018-06-09 15:30:22 +00:00
|
= help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]`
2019-11-25 13:24:53 +00:00
warning: `[BarB]` cannot be resolved, ignoring it.
--> $DIR/intra-links-warning.rs:27:9
|
LL | * bar [BarB] bar
| ^^^^ cannot be resolved, ignoring
|
= help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]`
2019-11-25 13:24:53 +00:00
warning: `[BarC]` cannot be resolved, ignoring it.
--> $DIR/intra-links-warning.rs:34:6
|
LL | bar [BarC] bar
| ^^^^ cannot be resolved, ignoring
|
= help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]`
2019-11-25 13:24:53 +00:00
warning: `[BarD]` cannot be resolved, ignoring it.
--> $DIR/intra-links-warning.rs:45:1
|
LL | #[doc = "Foo\nbar [BarD] bar\nbaz"]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: the link appears in this line:
bar [BarD] bar
^^^^
= help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]`
2019-11-25 13:24:53 +00:00
warning: `[BarF]` cannot be resolved, ignoring it.
--> $DIR/intra-links-warning.rs:50:9
|
2018-09-19 23:39:39 +00:00
LL | #[doc = $f]
| ^^^^^^^^^^^
...
LL | f!("Foo\nbar [BarF] bar\nbaz");
| ------------------------------- in this macro invocation
|
= note: the link appears in this line:
bar [BarF] bar
^^^^
= help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]`
= note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)