Struct rustc_lint::builtin::MissingDoc [−][src]
🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
Fields
🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
Stack of whether #[doc(hidden)] is set at each level which has lint attributes.
private_traits: HashSet<NodeId>
🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
Private traits or trait items that leaked through. Don't check their methods.
Methods
impl MissingDoc[src]
impl MissingDocpub fn new() -> MissingDoc[src]
pub fn new() -> MissingDoc🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
fn check_missing_docs_attrs(
&self,
cx: &LateContext,
id: Option<NodeId>,
attrs: &[Attribute],
sp: Span,
desc: &'static str
)[src]
fn check_missing_docs_attrs(
&self,
cx: &LateContext,
id: Option<NodeId>,
attrs: &[Attribute],
sp: Span,
desc: &'static str
)🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
Trait Implementations
impl LintPass for MissingDoc[src]
impl LintPass for MissingDocfn get_lints(&self) -> LintArray[src]
fn get_lints(&self) -> LintArray🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
Get descriptions of the lints this LintPass object can emit. Read more
impl<'a, 'tcx> LateLintPass<'a, 'tcx> for MissingDoc[src]
impl<'a, 'tcx> LateLintPass<'a, 'tcx> for MissingDocfn enter_lint_attrs(&mut self, _: &LateContext, attrs: &[Attribute])[src]
fn enter_lint_attrs(&mut self, _: &LateContext, attrs: &[Attribute])🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
Called when entering a syntax node that can have lint attributes such as #[allow(...)]. Called with all the attributes of that node. Read more
fn exit_lint_attrs(&mut self, _: &LateContext, _attrs: &[Attribute])[src]
fn exit_lint_attrs(&mut self, _: &LateContext, _attrs: &[Attribute])🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
Counterpart to enter_lint_attrs.
fn check_crate(&mut self, cx: &LateContext, krate: &Crate)[src]
fn check_crate(&mut self, cx: &LateContext, krate: &Crate)🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
fn check_item(&mut self, cx: &LateContext, it: &Item)[src]
fn check_item(&mut self, cx: &LateContext, it: &Item)🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
fn check_trait_item(&mut self, cx: &LateContext, trait_item: &TraitItem)[src]
fn check_trait_item(&mut self, cx: &LateContext, trait_item: &TraitItem)🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
fn check_impl_item(&mut self, cx: &LateContext, impl_item: &ImplItem)[src]
fn check_impl_item(&mut self, cx: &LateContext, impl_item: &ImplItem)🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
fn check_struct_field(&mut self, cx: &LateContext, sf: &StructField)[src]
fn check_struct_field(&mut self, cx: &LateContext, sf: &StructField)🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
fn check_variant(&mut self, cx: &LateContext, v: &Variant, _: &Generics)[src]
fn check_variant(&mut self, cx: &LateContext, v: &Variant, _: &Generics)🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
fn check_body(&mut self, &LateContext, &'tcx Body)[src]
fn check_body(&mut self, &LateContext, &'tcx Body)🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
fn check_body_post(&mut self, &LateContext, &'tcx Body)[src]
fn check_body_post(&mut self, &LateContext, &'tcx Body)🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
fn check_name(&mut self, &LateContext, Span, Symbol)[src]
fn check_name(&mut self, &LateContext, Span, Symbol)🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
fn check_crate_post(&mut self, &LateContext<'a, 'tcx>, &'tcx Crate)[src]
fn check_crate_post(&mut self, &LateContext<'a, 'tcx>, &'tcx Crate)🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
fn check_mod(&mut self, &LateContext<'a, 'tcx>, &'tcx Mod, Span, NodeId)[src]
fn check_mod(&mut self, &LateContext<'a, 'tcx>, &'tcx Mod, Span, NodeId)🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
fn check_mod_post(&mut self, &LateContext<'a, 'tcx>, &'tcx Mod, Span, NodeId)[src]
fn check_mod_post(&mut self, &LateContext<'a, 'tcx>, &'tcx Mod, Span, NodeId)🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
fn check_foreign_item(&mut self, &LateContext<'a, 'tcx>, &'tcx ForeignItem)[src]
fn check_foreign_item(&mut self, &LateContext<'a, 'tcx>, &'tcx ForeignItem)🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
fn check_foreign_item_post(&mut self, &LateContext<'a, 'tcx>, &'tcx ForeignItem)[src]
fn check_foreign_item_post(&mut self, &LateContext<'a, 'tcx>, &'tcx ForeignItem)🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
fn check_item_post(&mut self, &LateContext<'a, 'tcx>, &'tcx Item)[src]
fn check_item_post(&mut self, &LateContext<'a, 'tcx>, &'tcx Item)🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
fn check_local(&mut self, &LateContext<'a, 'tcx>, &'tcx Local)[src]
fn check_local(&mut self, &LateContext<'a, 'tcx>, &'tcx Local)🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
fn check_block(&mut self, &LateContext<'a, 'tcx>, &'tcx Block)[src]
fn check_block(&mut self, &LateContext<'a, 'tcx>, &'tcx Block)🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
fn check_block_post(&mut self, &LateContext<'a, 'tcx>, &'tcx Block)[src]
fn check_block_post(&mut self, &LateContext<'a, 'tcx>, &'tcx Block)🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
fn check_stmt(&mut self, &LateContext<'a, 'tcx>, &'tcx Spanned<Stmt_>)[src]
fn check_stmt(&mut self, &LateContext<'a, 'tcx>, &'tcx Spanned<Stmt_>)🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
fn check_arm(&mut self, &LateContext<'a, 'tcx>, &'tcx Arm)[src]
fn check_arm(&mut self, &LateContext<'a, 'tcx>, &'tcx Arm)🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
fn check_pat(&mut self, &LateContext<'a, 'tcx>, &'tcx Pat)[src]
fn check_pat(&mut self, &LateContext<'a, 'tcx>, &'tcx Pat)🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
fn check_decl(&mut self, &LateContext<'a, 'tcx>, &'tcx Spanned<Decl_>)[src]
fn check_decl(&mut self, &LateContext<'a, 'tcx>, &'tcx Spanned<Decl_>)🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
fn check_expr(&mut self, &LateContext<'a, 'tcx>, &'tcx Expr)[src]
fn check_expr(&mut self, &LateContext<'a, 'tcx>, &'tcx Expr)🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
fn check_expr_post(&mut self, &LateContext<'a, 'tcx>, &'tcx Expr)[src]
fn check_expr_post(&mut self, &LateContext<'a, 'tcx>, &'tcx Expr)🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
fn check_ty(&mut self, &LateContext<'a, 'tcx>, &'tcx Ty)[src]
fn check_ty(&mut self, &LateContext<'a, 'tcx>, &'tcx Ty)🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
fn check_generic_param(&mut self, &LateContext<'a, 'tcx>, &'tcx GenericParam)[src]
fn check_generic_param(&mut self, &LateContext<'a, 'tcx>, &'tcx GenericParam)🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
fn check_generics(&mut self, &LateContext<'a, 'tcx>, &'tcx Generics)[src]
fn check_generics(&mut self, &LateContext<'a, 'tcx>, &'tcx Generics)🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
fn check_where_predicate(
&mut self,
&LateContext<'a, 'tcx>,
&'tcx WherePredicate
)[src]
fn check_where_predicate(
&mut self,
&LateContext<'a, 'tcx>,
&'tcx WherePredicate
)🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
fn check_poly_trait_ref(
&mut self,
&LateContext<'a, 'tcx>,
&'tcx PolyTraitRef,
TraitBoundModifier
)[src]
fn check_poly_trait_ref(
&mut self,
&LateContext<'a, 'tcx>,
&'tcx PolyTraitRef,
TraitBoundModifier
)🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
fn check_fn(
&mut self,
&LateContext<'a, 'tcx>,
FnKind<'tcx>,
&'tcx FnDecl,
&'tcx Body,
Span,
NodeId
)[src]
fn check_fn(
&mut self,
&LateContext<'a, 'tcx>,
FnKind<'tcx>,
&'tcx FnDecl,
&'tcx Body,
Span,
NodeId
)🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
fn check_fn_post(
&mut self,
&LateContext<'a, 'tcx>,
FnKind<'tcx>,
&'tcx FnDecl,
&'tcx Body,
Span,
NodeId
)[src]
fn check_fn_post(
&mut self,
&LateContext<'a, 'tcx>,
FnKind<'tcx>,
&'tcx FnDecl,
&'tcx Body,
Span,
NodeId
)🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
fn check_trait_item_post(&mut self, &LateContext<'a, 'tcx>, &'tcx TraitItem)[src]
fn check_trait_item_post(&mut self, &LateContext<'a, 'tcx>, &'tcx TraitItem)🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
fn check_impl_item_post(&mut self, &LateContext<'a, 'tcx>, &'tcx ImplItem)[src]
fn check_impl_item_post(&mut self, &LateContext<'a, 'tcx>, &'tcx ImplItem)🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
fn check_struct_def(
&mut self,
&LateContext<'a, 'tcx>,
&'tcx VariantData,
Symbol,
&'tcx Generics,
NodeId
)[src]
fn check_struct_def(
&mut self,
&LateContext<'a, 'tcx>,
&'tcx VariantData,
Symbol,
&'tcx Generics,
NodeId
)🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
fn check_struct_def_post(
&mut self,
&LateContext<'a, 'tcx>,
&'tcx VariantData,
Symbol,
&'tcx Generics,
NodeId
)[src]
fn check_struct_def_post(
&mut self,
&LateContext<'a, 'tcx>,
&'tcx VariantData,
Symbol,
&'tcx Generics,
NodeId
)🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
fn check_variant_post(
&mut self,
&LateContext<'a, 'tcx>,
&'tcx Spanned<Variant_>,
&'tcx Generics
)[src]
fn check_variant_post(
&mut self,
&LateContext<'a, 'tcx>,
&'tcx Spanned<Variant_>,
&'tcx Generics
)🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
fn check_lifetime(&mut self, &LateContext<'a, 'tcx>, &'tcx Lifetime)[src]
fn check_lifetime(&mut self, &LateContext<'a, 'tcx>, &'tcx Lifetime)🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
fn check_path(&mut self, &LateContext<'a, 'tcx>, &'tcx Path, NodeId)[src]
fn check_path(&mut self, &LateContext<'a, 'tcx>, &'tcx Path, NodeId)🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
fn check_attribute(&mut self, &LateContext<'a, 'tcx>, &'tcx Attribute)[src]
fn check_attribute(&mut self, &LateContext<'a, 'tcx>, &'tcx Attribute)🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
Auto Trait Implementations
impl Send for MissingDoc
impl Send for MissingDocimpl Sync for MissingDoc
impl Sync for MissingDoc