1 //! Documenting the kinds of lints emitted by rustdoc.
9 /// what up, let's make an [error]
14 pub fn link_error() {} //~^^^^^ ERROR cannot be resolved, ignoring it
16 /// wait, this doesn't have a doctest?
17 pub fn no_doctest() {} //~^ ERROR Missing code example in this documentation
19 /// wait, this *does* have a doctest?
24 fn private_doctest() {} //~^^^^^ ERROR Documentation test in private item