2 // revisions: public private
3 // [private]compile-flags: --document-private-items
4 #![cfg_attr(private, deny(intra_doc_resolution_failure))]
7 //[public]~^ WARNING `[DontDocMe]` public documentation for `DocMe` links to a private item
8 // FIXME: for [private] we should also make sure the link was actually generated