]> git.lizzy.rs Git - rust.git/blob - tests/rustdoc-ui/intra-doc/incompatible-primitive-disambiguator.stderr
Rollup merge of #107194 - xfix:remove-slice-internals-dependency-in-rustc-ast, r...
[rust.git] / tests / rustdoc-ui / intra-doc / incompatible-primitive-disambiguator.stderr
1 error: incompatible link kind for `u8::MIN`
2   --> $DIR/incompatible-primitive-disambiguator.rs:2:6
3    |
4 LL | //! [static@u8::MIN]
5    |      ^^^^^^^^^^^^^^ this link resolved to an associated constant, which is not a static
6    |
7 note: the lint level is defined here
8   --> $DIR/incompatible-primitive-disambiguator.rs:1:9
9    |
10 LL | #![deny(rustdoc::broken_intra_doc_links)]
11    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
12 help: to link to the associated constant, prefix with `const@`
13    |
14 LL | //! [const@u8::MIN]
15    |      ~~~~~~
16
17 error: aborting due to previous error
18