fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error: incompatible link kind for `S` 2 --> $DIR/disambiguator-mismatch.rs:16:14 3 | 4LL | /// Link to [struct@S] 5 | ^^^^^^^^ this link resolved to an enum, which is not a struct 6 | 7note: the lint level is defined here 8 --> $DIR/disambiguator-mismatch.rs:1:9 9 | 10LL | #![deny(rustdoc::broken_intra_doc_links)] 11 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 12help: to link to the enum, prefix with `enum@` 13 | 14LL | /// Link to [enum@S] 15 | ~~~~~ 16 17error: incompatible link kind for `S` 18 --> $DIR/disambiguator-mismatch.rs:21:14 19 | 20LL | /// Link to [mod@S] 21 | ^^^^^ this link resolved to an enum, which is not a module 22 | 23help: to link to the enum, prefix with `enum@` 24 | 25LL | /// Link to [enum@S] 26 | ~~~~~ 27 28error: incompatible link kind for `S` 29 --> $DIR/disambiguator-mismatch.rs:26:14 30 | 31LL | /// Link to [union@S] 32 | ^^^^^^^ this link resolved to an enum, which is not a union 33 | 34help: to link to the enum, prefix with `enum@` 35 | 36LL | /// Link to [enum@S] 37 | ~~~~~ 38 39error: incompatible link kind for `S` 40 --> $DIR/disambiguator-mismatch.rs:31:14 41 | 42LL | /// Link to [trait@S] 43 | ^^^^^^^ this link resolved to an enum, which is not a trait 44 | 45help: to link to the enum, prefix with `enum@` 46 | 47LL | /// Link to [enum@S] 48 | ~~~~~ 49 50error: incompatible link kind for `T` 51 --> $DIR/disambiguator-mismatch.rs:36:14 52 | 53LL | /// Link to [struct@T] 54 | ^^^^^^^^ this link resolved to a trait, which is not a struct 55 | 56help: to link to the trait, prefix with `trait@` 57 | 58LL | /// Link to [trait@T] 59 | ~~~~~~ 60 61error: incompatible link kind for `m` 62 --> $DIR/disambiguator-mismatch.rs:41:14 63 | 64LL | /// Link to [derive@m] 65 | ^^^^^^^^ this link resolved to a macro, which is not a derive macro 66 | 67help: to link to the macro, add an exclamation mark 68 | 69LL - /// Link to [derive@m] 70LL + /// Link to [m!] 71 | 72 73error: unresolved link to `m` 74 --> $DIR/disambiguator-mismatch.rs:46:14 75 | 76LL | /// Link to [m()] 77 | ^^^ this link resolves to the macro `m`, which is not in the value namespace 78 | 79help: to link to the macro, add an exclamation mark 80 | 81LL | /// Link to [m!()] 82 | + 83 84error: incompatible link kind for `s` 85 --> $DIR/disambiguator-mismatch.rs:52:14 86 | 87LL | /// Link to [const@s] 88 | ^^^^^^^ this link resolved to a static, which is not a constant 89 | 90help: to link to the static, prefix with `static@` 91 | 92LL | /// Link to [static@s] 93 | ~~~~~~~ 94 95error: incompatible link kind for `c` 96 --> $DIR/disambiguator-mismatch.rs:57:14 97 | 98LL | /// Link to [static@c] 99 | ^^^^^^^^ this link resolved to a constant, which is not a static 100 | 101help: to link to the constant, prefix with `const@` 102 | 103LL | /// Link to [const@c] 104 | ~~~~~~ 105 106error: incompatible link kind for `c` 107 --> $DIR/disambiguator-mismatch.rs:62:14 108 | 109LL | /// Link to [fn@c] 110 | ^^^^ this link resolved to a constant, which is not a function 111 | 112help: to link to the constant, prefix with `const@` 113 | 114LL | /// Link to [const@c] 115 | ~~~~~~ 116 117error: incompatible link kind for `c` 118 --> $DIR/disambiguator-mismatch.rs:67:14 119 | 120LL | /// Link to [c()] 121 | ^^^ this link resolved to a constant, which is not a function 122 | 123help: to link to the constant, prefix with `const@` 124 | 125LL - /// Link to [c()] 126LL + /// Link to [const@c] 127 | 128 129error: incompatible link kind for `f` 130 --> $DIR/disambiguator-mismatch.rs:72:14 131 | 132LL | /// Link to [const@f] 133 | ^^^^^^^ this link resolved to a function, which is not a constant 134 | 135help: to link to the function, add parentheses 136 | 137LL - /// Link to [const@f] 138LL + /// Link to [f()] 139 | 140 141error: unresolved link to `std` 142 --> $DIR/disambiguator-mismatch.rs:77:14 143 | 144LL | /// Link to [fn@std] 145 | ^^^^^^ this link resolves to the crate `std`, which is not in the value namespace 146 | 147help: to link to the crate, prefix with `mod@` 148 | 149LL | /// Link to [mod@std] 150 | ~~~~ 151 152error: aborting due to 13 previous errors 153