]> git.lizzy.rs Git - rust.git/blob - src/test/rustdoc-ui/intra-doc/unknown-disambiguator.stderr
94d6d4616518ea7599ef5f7151a2025975a3e0fd
[rust.git] / src / test / rustdoc-ui / intra-doc / unknown-disambiguator.stderr
1 error: unknown disambiguator `foo`
2   --> $DIR/unknown-disambiguator.rs:3:17
3    |
4 LL | //! Linking to [foo@banana] and [`bar@banana!()`].
5    |                 ^^^
6    |
7 note: the lint level is defined here
8   --> $DIR/unknown-disambiguator.rs:1:9
9    |
10 LL | #![deny(warnings)]
11    |         ^^^^^^^^
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
14
15 error: unknown disambiguator `bar`
16   --> $DIR/unknown-disambiguator.rs:3:35
17    |
18 LL | //! Linking to [foo@banana] and [`bar@banana!()`].
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
22
23 error: unknown disambiguator `foo`
24   --> $DIR/unknown-disambiguator.rs:9:34
25    |
26 LL | //! And with weird backticks: [``foo@hello``] [foo`@`hello].
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
30
31 error: unknown disambiguator `foo`
32   --> $DIR/unknown-disambiguator.rs:9:48
33    |
34 LL | //! And with weird backticks: [``foo@hello``] [foo`@`hello].
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
38
39 error: unknown disambiguator ``
40   --> $DIR/unknown-disambiguator.rs:6:31
41    |
42 LL | //! And to [no disambiguator](@nectarine) and [another](@apricot!()).
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
46
47 error: unknown disambiguator ``
48   --> $DIR/unknown-disambiguator.rs:6:57
49    |
50 LL | //! And to [no disambiguator](@nectarine) and [another](@apricot!()).
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
54
55 error: aborting due to 6 previous errors
56