[−][src]Struct rustc_lint::builtin::MissingDoc

pub struct MissingDoc {
    doc_hidden_stack: Vec<bool>,
    private_traits: FxHashSet<HirId>,
}

Fields

doc_hidden_stack: Vec<bool>

Stack of whether #[doc(hidden)] is set at each level which has lint attributes.

private_traits: FxHashSet<HirId>

Private traits or trait items that leaked through. Don't check their methods.

Implementations

impl MissingDoc[src]

pub fn get_lints() -> LintArray[src]

impl MissingDoc[src]

pub fn new() -> MissingDoc[src]

pub(in builtin) fn doc_hidden(
    &self
) -> bool
[src]

pub(in builtin) fn check_missing_docs_attrs(
    &self,
    cx: &LateContext<'_>,
    id: Option<HirId>,
    attrs: &[Attribute],
    sp: Span,
    article: &'static str,
    desc: &'static str
)
[src]

Trait Implementations

impl<'tcx> LateLintPass<'tcx> for MissingDoc[src]

impl LintPass for MissingDoc[src]

Auto Trait Implementations

impl RefUnwindSafe for MissingDoc

impl Send for MissingDoc

impl Sync for MissingDoc

impl Unpin for MissingDoc

impl UnwindSafe for MissingDoc

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized, 
[src]

impl<T> Borrow<T> for T where
    T: ?Sized, 
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.