rust/tests/rustdoc-ui/intra-doc/incompatible-primitive-disambiguator.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

19 lines
569 B
Plaintext
Raw Normal View History

2021-01-04 20:38:30 +00:00
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
2021-01-04 20:38:30 +00:00
|
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]
| ~~~~~~
2021-01-04 20:38:30 +00:00
error: aborting due to 1 previous error
2021-01-04 20:38:30 +00:00