fork/rust
git clone https://git.julia.blue/fork/rust
4560ea788cb
1.39.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 26help: to link to the struct, prefix with the item type 27 | 28LL | /// [struct@ambiguous] is ambiguous. 29 | ^^^^^^^^^^^^^^^^ 30help: to link to the function, add parentheses 31 | 32LL | /// [ambiguous()] is ambiguous. 33 | ^^^^^^^^^^^ 34 35error: `multi_conflict` is a struct, a function, and a macro 36 --> $DIR/intra-links-ambiguity.rs:31:6 37 | 38LL | /// [`multi_conflict`] is a three-way conflict. 39 | ^^^^^^^^^^^^^^^^ ambiguous link 40help: to link to the struct, prefix with the item type 41 | 42LL | /// [`struct@multi_conflict`] is a three-way conflict. 43 | ^^^^^^^^^^^^^^^^^^^^^^^ 44help: to link to the function, add parentheses 45 | 46LL | /// [`multi_conflict()`] is a three-way conflict. 47 | ^^^^^^^^^^^^^^^^^^ 48help: to link to the macro, add an exclamation mark 49 | 50LL | /// [`multi_conflict!`] is a three-way conflict. 51 | ^^^^^^^^^^^^^^^^^ 52 53error: `type_and_value` is both a module and a constant 54 --> $DIR/intra-links-ambiguity.rs:33:16 55 | 56LL | /// Ambiguous [type_and_value]. 57 | ^^^^^^^^^^^^^^ ambiguous link 58help: to link to the module, prefix with the item type 59 | 60LL | /// Ambiguous [module@type_and_value]. 61 | ^^^^^^^^^^^^^^^^^^^^^ 62help: to link to the constant, prefix with the item type 63 | 64LL | /// Ambiguous [const@type_and_value]. 65 | ^^^^^^^^^^^^^^^^^^^^ 66 67error: `foo::bar` is both an enum and a function 68 --> $DIR/intra-links-ambiguity.rs:35:42 69 | 70LL | /// Ambiguous non-implied shortcut link [`foo::bar`]. 71 | ^^^^^^^^^^ ambiguous link 72help: to link to the enum, prefix with the item type 73 | 74LL | /// Ambiguous non-implied shortcut link [`enum@foo::bar`]. 75 | ^^^^^^^^^^^^^^^ 76help: to link to the function, add parentheses 77 | 78LL | /// Ambiguous non-implied shortcut link [`foo::bar()`]. 79 | ^^^^^^^^^^^^ 80 81error: aborting due to 5 previous errors 82