]> git.lizzy.rs Git - rust.git/blob - tests/rustdoc-ui/check-doc-alias-attr-location.stderr
Rollup merge of #106397 - compiler-errors:new-solver-impl-wc, r=lcnr
[rust.git] / tests / rustdoc-ui / check-doc-alias-attr-location.stderr
1 error: `#[doc(alias = "...")]` isn't allowed on foreign module
2   --> $DIR/check-doc-alias-attr-location.rs:7:7
3    |
4 LL | #[doc(alias = "foo")]
5    |       ^^^^^^^^^^^^^
6
7 error: `#[doc(alias = "...")]` isn't allowed on implementation block
8   --> $DIR/check-doc-alias-attr-location.rs:10:7
9    |
10 LL | #[doc(alias = "bar")]
11    |       ^^^^^^^^^^^^^
12
13 error: `#[doc(alias = "...")]` isn't allowed on implementation block
14   --> $DIR/check-doc-alias-attr-location.rs:16:7
15    |
16 LL | #[doc(alias = "foobar")]
17    |       ^^^^^^^^^^^^^^^^
18
19 error: `#[doc(alias = "...")]` isn't allowed on type alias in implementation block
20   --> $DIR/check-doc-alias-attr-location.rs:18:11
21    |
22 LL |     #[doc(alias = "assoc")]
23    |           ^^^^^^^^^^^^^^^
24
25 error: aborting due to 4 previous errors
26