mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 23:34:48 +00:00
87a354b15d
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
19 lines
569 B
Plaintext
19 lines
569 B
Plaintext
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 1 previous error
|
|
|