12 lines
319 B
Rust
12 lines
319 B
Rust
#![deny(rustdoc::broken_intra_doc_links)]
|
|
//~^NOTE the lint level is defined here
|
|
|
|
/// [`Foo::bar`]
|
|
/// [`Foo::bar()`]
|
|
//~^ERROR incompatible link kind for `Foo::bar`
|
|
//~|HELP to link to the field, prefix with `field@`
|
|
//~|NOTE this link resolved to a field, which is not a function
|
|
pub struct Foo {
|
|
pub bar: u8,
|
|
}
|