You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
let msg = "see https://doc.rust-lang.org/nightly/rustdoc/linking-to-items-by-name.html#namespaces-and-disambiguators for more info about disambiguators";
2022
+
diag.note(msg);
2023
+
});
2021
2024
}
2022
2025
2023
2026
/// Report an ambiguity error, where there were multiple possible resolutions.
Copy file name to clipboardExpand all lines: src/test/rustdoc-ui/intra-doc/email-address-localhost.stderr
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,7 @@ note: the lint level is defined here
10
10
LL | #![deny(warnings)]
11
11
| ^^^^^^^^
12
12
= note: `#[deny(rustdoc::broken_intra_doc_links)]` implied by `#[deny(warnings)]`
13
+
= note: see https://doc.rust-lang.org/nightly/rustdoc/linking-to-items-by-name.html#namespaces-and-disambiguators for more info about disambiguators
Copy file name to clipboardExpand all lines: src/test/rustdoc-ui/intra-doc/unknown-disambiguator.stderr
+11Lines changed: 11 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -10,36 +10,47 @@ note: the lint level is defined here
10
10
LL | #![deny(warnings)]
11
11
| ^^^^^^^^
12
12
= note: `#[deny(rustdoc::broken_intra_doc_links)]` implied by `#[deny(warnings)]`
13
+
= note: see https://doc.rust-lang.org/nightly/rustdoc/linking-to-items-by-name.html#namespaces-and-disambiguators for more info about disambiguators
13
14
14
15
error: unknown disambiguator `bar`
15
16
--> $DIR/unknown-disambiguator.rs:3:35
16
17
|
17
18
LL | //! Linking to [foo@banana] and [`bar@banana!()`].
18
19
| ^^^
20
+
|
21
+
= note: see https://doc.rust-lang.org/nightly/rustdoc/linking-to-items-by-name.html#namespaces-and-disambiguators for more info about disambiguators
19
22
20
23
error: unknown disambiguator `foo`
21
24
--> $DIR/unknown-disambiguator.rs:9:34
22
25
|
23
26
LL | //! And with weird backticks: [``foo@hello``] [foo`@`hello].
24
27
| ^^^
28
+
|
29
+
= note: see https://doc.rust-lang.org/nightly/rustdoc/linking-to-items-by-name.html#namespaces-and-disambiguators for more info about disambiguators
25
30
26
31
error: unknown disambiguator `foo`
27
32
--> $DIR/unknown-disambiguator.rs:9:48
28
33
|
29
34
LL | //! And with weird backticks: [``foo@hello``] [foo`@`hello].
30
35
| ^^^
36
+
|
37
+
= note: see https://doc.rust-lang.org/nightly/rustdoc/linking-to-items-by-name.html#namespaces-and-disambiguators for more info about disambiguators
31
38
32
39
error: unknown disambiguator ``
33
40
--> $DIR/unknown-disambiguator.rs:6:31
34
41
|
35
42
LL | //! And to [no disambiguator](@nectarine) and [another](@apricot!()).
36
43
| ^
44
+
|
45
+
= note: see https://doc.rust-lang.org/nightly/rustdoc/linking-to-items-by-name.html#namespaces-and-disambiguators for more info about disambiguators
37
46
38
47
error: unknown disambiguator ``
39
48
--> $DIR/unknown-disambiguator.rs:6:57
40
49
|
41
50
LL | //! And to [no disambiguator](@nectarine) and [another](@apricot!()).
42
51
| ^
52
+
|
53
+
= note: see https://doc.rust-lang.org/nightly/rustdoc/linking-to-items-by-name.html#namespaces-and-disambiguators for more info about disambiguators
0 commit comments