diff options
| author | Jonas Schievink <jonasschievink@gmail.com> | 2020-11-24 13:17:37 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-11-24 13:17:37 +0100 |
| commit | 5a66a73282a17a4778fa419cb59ee5aa74e37ea2 (patch) | |
| tree | f945db57163fc978163a1480af099f1035f34613 /src/test | |
| parent | f74b223e195082af56fca1c886d08ccf3377db33 (diff) | |
| parent | 0043fc9ce6e5482bda8e4a1b8c4c195332a877b9 (diff) | |
| download | rust-5a66a73282a17a4778fa419cb59ee5aa74e37ea2.tar.gz rust-5a66a73282a17a4778fa419cb59ee5aa74e37ea2.zip | |
Rollup merge of #79312 - jyn514:doctree-impl, r=GuillaumeGomez
Get rid of `doctree::Impl` Follow-up to https://github.com/rust-lang/rust/pull/79264, continues breaking up https://github.com/rust-lang/rust/pull/78082. At some point I want to introduce `MaybeInlined`, but I think I'll wait until I need `MaybeInlined::InlinedWithOriginal` because it's not very useful in other situations. r? ``@GuillaumeGomez``
Diffstat (limited to 'src/test')
| -rw-r--r-- | src/test/rustdoc-ui/intra-link-errors.stderr | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/test/rustdoc-ui/intra-link-errors.stderr b/src/test/rustdoc-ui/intra-link-errors.stderr index 31e7fc48afd..be98cac94ec 100644 --- a/src/test/rustdoc-ui/intra-link-errors.stderr +++ b/src/test/rustdoc-ui/intra-link-errors.stderr @@ -106,6 +106,15 @@ LL | /// [S!] | this link resolves to the struct `S`, which is not in the macro namespace | help: to link to the struct, prefix with `struct@`: `struct@S` +error: unresolved link to `S::h` + --> $DIR/intra-link-errors.rs:78:6 + | +LL | /// [type@S::h] + | ^^^^^^^^^ + | | + | this link resolves to the associated function `h`, which is not in the type namespace + | help: to link to the associated function, add parentheses: `S::h()` + error: unresolved link to `T::g` --> $DIR/intra-link-errors.rs:86:6 | @@ -121,15 +130,6 @@ error: unresolved link to `T::h` LL | /// [T::h!] | ^^^^^ the trait `T` has no macro named `h` -error: unresolved link to `S::h` - --> $DIR/intra-link-errors.rs:78:6 - | -LL | /// [type@S::h] - | ^^^^^^^^^ - | | - | this link resolves to the associated function `h`, which is not in the type namespace - | help: to link to the associated function, add parentheses: `S::h()` - error: unresolved link to `m` --> $DIR/intra-link-errors.rs:98:6 | |
