fork/rust

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

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

master
1.5 KiB55 linesraw
1error: unresolved link to `Clone`
2  --> $DIR/issue-110495-suffix-with-space.rs:3:6
3   |
4LL | //! [Clone ()].
5   |      ^^^^^^^^ this link resolves to the trait `Clone`, which is not in the value namespace
6   |
7note: the lint level is defined here
8  --> $DIR/issue-110495-suffix-with-space.rs:2:9
9   |
10LL | #![deny(rustdoc::broken_intra_doc_links)]
11   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
12help: to link to the trait, prefix with `trait@`
13   |
14LL - //! [Clone ()].
15LL + //! [trait@Clone ].
16   |
17
18error: incompatible link kind for `Clone`
19  --> $DIR/issue-110495-suffix-with-space.rs:4:6
20   |
21LL | //! [Clone !].
22   |      ^^^^^^^ this link resolved to a derive macro, which is not a macro
23   |
24help: to link to the derive macro, prefix with `derive@`
25   |
26LL - //! [Clone !].
27LL + //! [derive@Clone ].
28   |
29
30error: unresolved link to `Clone`
31  --> $DIR/issue-110495-suffix-with-space.rs:5:7
32   |
33LL | //! [`Clone ()`].
34   |       ^^^^^^^^ this link resolves to the trait `Clone`, which is not in the value namespace
35   |
36help: to link to the trait, prefix with `trait@`
37   |
38LL - //! [`Clone ()`].
39LL + //! [`trait@Clone `].
40   |
41
42error: incompatible link kind for `Clone`
43  --> $DIR/issue-110495-suffix-with-space.rs:6:7
44   |
45LL | //! [`Clone !`].
46   |       ^^^^^^^ this link resolved to a derive macro, which is not a macro
47   |
48help: to link to the derive macro, prefix with `derive@`
49   |
50LL - //! [`Clone !`].
51LL + //! [`derive@Clone `].
52   |
53
54error: aborting due to 4 previous errors
55