]> git.lizzy.rs Git - rust.git/blob - src/test/rustdoc-ui/intra-doc/field-ice.rs
Auto merge of #98186 - mystor:tokenstream_as_vec_tt, r=eddyb
[rust.git] / src / test / rustdoc-ui / intra-doc / field-ice.rs
1 #![deny(rustdoc::broken_intra_doc_links)]
2 //~^NOTE the lint level is defined here
3
4 /// [`Foo::bar`]
5 /// [`Foo::bar()`]
6 //~^ERROR incompatible link kind for `Foo::bar`
7 //~|HELP to link to the field, remove the disambiguator
8 //~|NOTE this link resolved to a field, which is not a function
9 pub struct Foo {
10     pub bar: u8
11 }