]>
git.proxmox.com Git - rustc.git/blob - src/test/rustdoc-ui/lint-group.rs
1 //! Documenting the kinds of lints emitted by rustdoc.
9 /// what up, let's make an [error]
14 pub fn link_error() {}
//~^^^^^ ERROR unresolved link to `error`
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
27 //~^ ERROR unclosed HTML tag `unknown`
28 //~^^ ERROR missing code example