fix incompatible disambiguator test
This commit is contained in:
parent
06b0900a2d
commit
6f0413316f
@ -0,0 +1,3 @@
|
|||||||
|
#![deny(broken_intra_doc_links)]
|
||||||
|
//! [static@u8::MIN]
|
||||||
|
//~^ ERROR incompatible link kind
|
@ -0,0 +1,15 @@
|
|||||||
|
error: incompatible link kind for `u8::MIN`
|
||||||
|
--> $DIR/incompatible-primitive-disambiguator.rs:2:6
|
||||||
|
|
|
||||||
|
LL | //! [static@u8::MIN]
|
||||||
|
| ^^^^^^^^^^^^^^ help: to link to the associated constant, prefix with `const@`: `const@u8::MIN`
|
||||||
|
|
|
||||||
|
note: the lint level is defined here
|
||||||
|
--> $DIR/incompatible-primitive-disambiguator.rs:1:9
|
||||||
|
|
|
||||||
|
LL | #![deny(broken_intra_doc_links)]
|
||||||
|
| ^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
= note: this link resolved to an associated constant, which is not a static
|
||||||
|
|
||||||
|
error: aborting due to previous error
|
||||||
|
|
@ -1,2 +0,0 @@
|
|||||||
#![deny(broken_intra_doc_links)]
|
|
||||||
//! [struct@str::trim] //~ ERROR incompatible link
|
|
Loading…
Reference in New Issue
Block a user