fork/rust
git clone https://git.julia.blue/fork/rust
5e1a799842b
1.41.0
1error: `ambiguous` is both a struct and a function 2 --> $DIR/intra-links-ambiguity.rs:27:6 3 | 4LL | /// [`ambiguous`] is ambiguous. 5 | ^^^^^^^^^^^ ambiguous link 6 | 7note: lint level defined here 8 --> $DIR/intra-links-ambiguity.rs:1:9 9 | 10LL | #![deny(intra_doc_link_resolution_failure)] 11 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 12help: to link to the struct, prefix with the item type 13 | 14LL | /// [`struct@ambiguous`] is ambiguous. 15 | ^^^^^^^^^^^^^^^^^^ 16help: to link to the function, add parentheses 17 | 18LL | /// [`ambiguous()`] is ambiguous. 19 | ^^^^^^^^^^^^^ 20 21error: `ambiguous` is both a struct and a function 22 --> $DIR/intra-links-ambiguity.rs:29:6 23 | 24LL | /// [ambiguous] is ambiguous. 25 | ^^^^^^^^^ ambiguous link 26 | 27help: to link to the struct, prefix with the item type 28 | 29LL | /// [struct@ambiguous] is ambiguous. 30 | ^^^^^^^^^^^^^^^^ 31help: to link to the function, add parentheses 32 | 33LL | /// [ambiguous()] is ambiguous. 34 | ^^^^^^^^^^^ 35 36error: `multi_conflict` is a struct, a function, and a macro 37 --> $DIR/intra-links-ambiguity.rs:31:6 38 | 39LL | /// [`multi_conflict`] is a three-way conflict. 40 | ^^^^^^^^^^^^^^^^ ambiguous link 41 | 42help: to link to the struct, prefix with the item type 43 | 44LL | /// [`struct@multi_conflict`] is a three-way conflict. 45 | ^^^^^^^^^^^^^^^^^^^^^^^ 46help: to link to the function, add parentheses 47 | 48LL | /// [`multi_conflict()`] is a three-way conflict. 49 | ^^^^^^^^^^^^^^^^^^ 50help: to link to the macro, add an exclamation mark 51 | 52LL | /// [`multi_conflict!`] is a three-way conflict. 53 | ^^^^^^^^^^^^^^^^^ 54 55error: `type_and_value` is both a module and a constant 56 --> $DIR/intra-links-ambiguity.rs:33:16 57 | 58LL | /// Ambiguous [type_and_value]. 59 | ^^^^^^^^^^^^^^ ambiguous link 60 | 61help: to link to the module, prefix with the item type 62 | 63LL | /// Ambiguous [module@type_and_value]. 64 | ^^^^^^^^^^^^^^^^^^^^^ 65help: to link to the constant, prefix with the item type 66 | 67LL | /// Ambiguous [const@type_and_value]. 68 | ^^^^^^^^^^^^^^^^^^^^ 69 70error: `foo::bar` is both an enum and a function 71 --> $DIR/intra-links-ambiguity.rs:35:42 72 | 73LL | /// Ambiguous non-implied shortcut link [`foo::bar`]. 74 | ^^^^^^^^^^ ambiguous link 75 | 76help: to link to the enum, prefix with the item type 77 | 78LL | /// Ambiguous non-implied shortcut link [`enum@foo::bar`]. 79 | ^^^^^^^^^^^^^^^ 80help: to link to the function, add parentheses 81 | 82LL | /// Ambiguous non-implied shortcut link [`foo::bar()`]. 83 | ^^^^^^^^^^^^ 84 85error: aborting due to 5 previous errors 86