blob: ea94cb349ad29af5e57fded93d74f301a943bfc6 (
plain)
1
2
3
4
5
6
7
8
|
// 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;
|