summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc-ui/doc-alias-assoc-const.stderr
blob: cbca40e1364fa34508a8a317ad472e3717400e40 (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 previous error