summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc-ui/intra-doc/incompatible-primitive-disambiguator.stderr
blob: c43cda3eb7e9448aa47454f5f02c8637f813b825 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
error: incompatible link kind for `u8::MIN`
  --> $DIR/incompatible-primitive-disambiguator.rs:2:6
   |
LL | //! [static@u8::MIN]
   |      ^^^^^^^^^^^^^^ this link resolved to an associated constant, which is not a static
   |
note: the lint level is defined here
  --> $DIR/incompatible-primitive-disambiguator.rs:1:9
   |
LL | #![deny(rustdoc::broken_intra_doc_links)]
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
help: to link to the associated constant, prefix with `const@`
   |
LL | //! [const@u8::MIN]
   |      ~~~~~~

error: aborting due to previous error