1 #![feature(rustdoc_missing_doc_code_examples)]
3 //! Documenting the kinds of lints emitted by rustdoc.
11 /// what up, let's make an [error]
16 pub fn link_error() {} //~^^^^^ ERROR unresolved link to `error`
18 /// wait, this doesn't have a doctest?
19 pub fn no_doctest() {} //~^ ERROR missing code example in this documentation
21 /// wait, this *does* have a doctest?
26 fn private_doctest() {} //~^^^^^ ERROR documentation test in private item
29 //~^ ERROR unclosed HTML tag `unknown`
30 //~^^ ERROR missing code example