fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
2.4 KiB56 linesraw
1error: unknown disambiguator `foo`
2  --> $DIR/unknown-disambiguator.rs:4:17
3   |
4LL | //! Linking to [foo@banana] and [`bar@banana!()`].
5   |                 ^^^
6   |
7   = note: see https://doc.rust-lang.org/$CHANNEL/rustdoc/write-documentation/linking-to-items-by-name.html#namespaces-and-disambiguators for more info about disambiguators
8note: the lint level is defined here
9  --> $DIR/unknown-disambiguator.rs:2:9
10   |
11LL | #![deny(warnings)]
12   |         ^^^^^^^^
13   = note: `#[deny(rustdoc::broken_intra_doc_links)]` implied by `#[deny(warnings)]`
14
15error: unknown disambiguator `bar`
16  --> $DIR/unknown-disambiguator.rs:4:35
17   |
18LL | //! Linking to [foo@banana] and [`bar@banana!()`].
19   |                                   ^^^
20   |
21   = note: see https://doc.rust-lang.org/$CHANNEL/rustdoc/write-documentation/linking-to-items-by-name.html#namespaces-and-disambiguators for more info about disambiguators
22
23error: unknown disambiguator ``
24  --> $DIR/unknown-disambiguator.rs:7:31
25   |
26LL | //! And to [no disambiguator](@nectarine) and [another](@apricot!()).
27   |                               ^
28   |
29   = note: see https://doc.rust-lang.org/$CHANNEL/rustdoc/write-documentation/linking-to-items-by-name.html#namespaces-and-disambiguators for more info about disambiguators
30
31error: unknown disambiguator ``
32  --> $DIR/unknown-disambiguator.rs:7:57
33   |
34LL | //! And to [no disambiguator](@nectarine) and [another](@apricot!()).
35   |                                                         ^
36   |
37   = note: see https://doc.rust-lang.org/$CHANNEL/rustdoc/write-documentation/linking-to-items-by-name.html#namespaces-and-disambiguators for more info about disambiguators
38
39error: unknown disambiguator `foo`
40  --> $DIR/unknown-disambiguator.rs:10:34
41   |
42LL | //! And with weird backticks: [``foo@hello``] [foo`@`hello].
43   |                                  ^^^
44   |
45   = note: see https://doc.rust-lang.org/$CHANNEL/rustdoc/write-documentation/linking-to-items-by-name.html#namespaces-and-disambiguators for more info about disambiguators
46
47error: unknown disambiguator `foo`
48  --> $DIR/unknown-disambiguator.rs:10:48
49   |
50LL | //! And with weird backticks: [``foo@hello``] [foo`@`hello].
51   |                                                ^^^
52   |
53   = note: see https://doc.rust-lang.org/$CHANNEL/rustdoc/write-documentation/linking-to-items-by-name.html#namespaces-and-disambiguators for more info about disambiguators
54
55error: aborting due to 6 previous errors
56