blob: ea94cb349ad29af5e57fded93d74f301a943bfc6 [file] [log] [blame]
// This test ensures that an empty associated item will not crash rustdoc.
// This is a regression test for <https://github.com/rust-lang/rust/issues/140026>.
#[deny(rustdoc::broken_intra_doc_links)]
/// [`String::`]
//~^ ERROR
pub struct Foo;