fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
772 B26 linesraw
1error: `#[doc(alias = "...")]` isn't allowed on foreign module
2  --> $DIR/check-doc-alias-attr-location.rs:7:7
3   |
4LL | #[doc(alias = "foo")]
5   |       ^^^^^^^^^^^^^
6
7error: `#[doc(alias = "...")]` isn't allowed on implementation block
8  --> $DIR/check-doc-alias-attr-location.rs:10:7
9   |
10LL | #[doc(alias = "bar")]
11   |       ^^^^^^^^^^^^^
12
13error: `#[doc(alias = "...")]` isn't allowed on implementation block
14  --> $DIR/check-doc-alias-attr-location.rs:16:7
15   |
16LL | #[doc(alias = "foobar")]
17   |       ^^^^^^^^^^^^^^^^
18
19error: `#[doc(alias = "...")]` isn't allowed on type alias in implementation block
20  --> $DIR/check-doc-alias-attr-location.rs:18:11
21   |
22LL |     #[doc(alias = "assoc")]
23   |           ^^^^^^^^^^^^^^^
24
25error: aborting due to 4 previous errors
26