]> git.lizzy.rs Git - rust.git/blobdiff - src/test/rustdoc-ui/intra-links-anchors.stderr
Update error messages
[rust.git] / src / test / rustdoc-ui / intra-links-anchors.stderr
index 39e83b5659be6a5484a51bfd7b2cea12cbc287a0..5fead8e4c358e8713099f491b09b8533eef447d4 100644 (file)
@@ -1,4 +1,4 @@
-error: `[Foo::f#hola]` has an anchor issue...
+error: `[Foo::f#hola]` has an issue with the link anchor.
   --> $DIR/intra-links-anchors.rs:25:15
    |
 LL | /// Or maybe [Foo::f#hola].
@@ -10,19 +10,19 @@ note: lint level defined here
 LL | #![deny(intra_doc_link_resolution_failure)]
    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 
-error: `[hello#people#!]` has an anchor issue...
+error: `[hello#people#!]` has an issue with the link anchor.
   --> $DIR/intra-links-anchors.rs:31:28
    |
 LL | /// Another anchor error: [hello#people#!].
    |                            ^^^^^^^^^^^^^^ only one `#` is allowed in a link
 
-error: `[Enum::A#whatever]` has an anchor issue...
+error: `[Enum::A#whatever]` has an issue with the link anchor.
   --> $DIR/intra-links-anchors.rs:37:28
    |
 LL | /// Damn enum's variants: [Enum::A#whatever].
    |                            ^^^^^^^^^^^^^^^^ variants cannot be followed by anchors
 
-error: `[u32#hello]` has an anchor issue...
+error: `[u32#hello]` has an issue with the link anchor.
   --> $DIR/intra-links-anchors.rs:43:6
    |
 LL | /// [u32#hello]