fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error: unresolved link to `path::to::nonexistent::module` 2 --> $DIR/errors.rs:7:6 3 | 4LL | /// [path::to::nonexistent::module] 5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no item named `path` in scope 6 | 7note: the lint level is defined here 8 --> $DIR/errors.rs:1:9 9 | 10LL | #![deny(rustdoc::broken_intra_doc_links)] 11 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 12 13error: unresolved link to `path::to::nonexistent::macro` 14 --> $DIR/errors.rs:11:6 15 | 16LL | /// [path::to::nonexistent::macro!] 17 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no item named `path` in scope 18 19error: unresolved link to `path::to::nonexistent::type` 20 --> $DIR/errors.rs:15:6 21 | 22LL | /// [type@path::to::nonexistent::type] 23 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no item named `path` in scope 24 25error: unresolved link to `std::io::not::here` 26 --> $DIR/errors.rs:19:6 27 | 28LL | /// [std::io::not::here] 29 | ^^^^^^^^^^^^^^^^^^ no item named `not` in module `io` 30 31error: unresolved link to `std::io::not::here` 32 --> $DIR/errors.rs:23:6 33 | 34LL | /// [type@std::io::not::here] 35 | ^^^^^^^^^^^^^^^^^^^^^^^ no item named `not` in module `io` 36 37error: unresolved link to `std::io::Error::x` 38 --> $DIR/errors.rs:27:6 39 | 40LL | /// [std::io::Error::x] 41 | ^^^^^^^^^^^^^^^^^ the struct `Error` has no field or associated item named `x` 42 43error: unresolved link to `std::io::ErrorKind::x` 44 --> $DIR/errors.rs:31:6 45 | 46LL | /// [std::io::ErrorKind::x] 47 | ^^^^^^^^^^^^^^^^^^^^^ the enum `ErrorKind` has no variant or associated item named `x` 48 49error: unresolved link to `f::A` 50 --> $DIR/errors.rs:35:6 51 | 52LL | /// [f::A] 53 | ^^^^ `f` is a function, not a module or type, and cannot have associated items 54 55error: unresolved link to `f::A` 56 --> $DIR/errors.rs:39:6 57 | 58LL | /// [f::A!] 59 | ^^^^^ `f` is a function, not a module or type, and cannot have associated items 60 61error: unresolved link to `S::A` 62 --> $DIR/errors.rs:43:6 63 | 64LL | /// [S::A] 65 | ^^^^ the struct `S` has no field or associated item named `A` 66 67error: unresolved link to `S::fmt` 68 --> $DIR/errors.rs:47:6 69 | 70LL | /// [S::fmt] 71 | ^^^^^^ the struct `S` has no field or associated item named `fmt` 72 73error: unresolved link to `E::D` 74 --> $DIR/errors.rs:51:6 75 | 76LL | /// [E::D] 77 | ^^^^ the enum `E` has no variant or associated item named `D` 78 79error: unresolved link to `u8::not_found` 80 --> $DIR/errors.rs:55:6 81 | 82LL | /// [u8::not_found] 83 | ^^^^^^^^^^^^^ the primitive type `u8` has no associated item named `not_found` 84 85error: unresolved link to `std::primitive::u8::not_found` 86 --> $DIR/errors.rs:59:6 87 | 88LL | /// [std::primitive::u8::not_found] 89 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the primitive type `u8` has no associated item named `not_found` 90 91error: unresolved link to `Vec::into_iter` 92 --> $DIR/errors.rs:63:6 93 | 94LL | /// [type@Vec::into_iter] 95 | ^^^^^^^^^^^^^^^^^^^ this link resolves to the associated function `into_iter`, which is not in the type namespace 96 | 97help: to link to the associated function, add parentheses 98 | 99LL - /// [type@Vec::into_iter] 100LL + /// [Vec::into_iter()] 101 | 102 103error: unresolved link to `S` 104 --> $DIR/errors.rs:68:6 105 | 106LL | /// [S!] 107 | ^^ this link resolves to the struct `S`, which is not in the macro namespace 108 | 109help: to link to the struct, prefix with `struct@` 110 | 111LL - /// [S!] 112LL + /// [struct@S] 113 | 114 115error: unresolved link to `S::h` 116 --> $DIR/errors.rs:78:6 117 | 118LL | /// [type@S::h] 119 | ^^^^^^^^^ this link resolves to the associated function `h`, which is not in the type namespace 120 | 121help: to link to the associated function, add parentheses 122 | 123LL - /// [type@S::h] 124LL + /// [S::h()] 125 | 126 127error: unresolved link to `T::g` 128 --> $DIR/errors.rs:86:6 129 | 130LL | /// [type@T::g] 131 | ^^^^^^^^^ this link resolves to the associated function `g`, which is not in the type namespace 132 | 133help: to link to the associated function, add parentheses 134 | 135LL - /// [type@T::g] 136LL + /// [T::g()] 137 | 138 139error: unresolved link to `T::h` 140 --> $DIR/errors.rs:91:6 141 | 142LL | /// [T::h!] 143 | ^^^^^ the trait `T` has no macro named `h` 144 145error: unresolved link to `TestEnum::Variant1::field_name` 146 --> $DIR/errors.rs:107:6 147 | 148LL | ///[`TestEnum::Variant1::field_name`] 149 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ variant `Variant1` has no such field 150 151error: unresolved link to `TestEnumNoFields::Variant1::field_name` 152 --> $DIR/errors.rs:115:6 153 | 154LL | ///[`TestEnumNoFields::Variant1::field_name`] 155 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Variant1` is a variant, not a module or type, and cannot have associated items 156 157error: unresolved link to `m` 158 --> $DIR/errors.rs:98:6 159 | 160LL | /// [m()] 161 | ^^^ this link resolves to the macro `m`, which is not in the value namespace 162 | 163help: to link to the macro, add an exclamation mark 164 | 165LL | /// [m!()] 166 | + 167 168error: aborting due to 22 previous errors 169