summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc-ui/doc-alias-assoc-const.stderr
blob: cd3ad4ab393a5ede9930ea5655e06ad9a009d45f (plain)
1
2
3
4
5
6
7
8
error: `#[doc(alias = "...")]` isn't allowed on associated constant in trait implementation block
  --> $DIR/doc-alias-assoc-const.rs:10:11
   |
LL |     #[doc(alias = "CONST_BAZ")]
   |           ^^^^^^^^^^^^^^^^^^^

error: aborting due to 1 previous error