Expand description
This module analyzes crates to find call sites that can serve as examples in the documentation.
Re-exportsยง
use std::fs;๐use std::path::PathBuf;๐use rustc_data_structures::fx::FxHashSet;๐use rustc_data_structures::fx::FxIndexMap;๐use rustc_errors::DiagCtxtHandle;๐use rustc_hir as hir;๐use rustc_hir::intravisit;๐use rustc_hir::intravisit::Visitor;๐use rustc_macros::Decodable;๐use rustc_macros::Encodable;๐use rustc_middle::hir::nested_filter;๐use rustc_middle::ty;๐use rustc_middle::ty::TyCtxt;๐use rustc_serialize::opaque::FileEncoder;๐use rustc_serialize::opaque::MemDecoder;๐use rustc_serialize::Decodable;๐use rustc_serialize::Encodable;๐use rustc_session::getopts;๐use rustc_span::def_id::CrateNum;๐use rustc_span::def_id::DefPathHash;๐use rustc_span::def_id::LOCAL_CRATE;๐use rustc_span::edition::Edition;๐use rustc_span::BytePos;๐use rustc_span::FileName;๐use rustc_span::SourceFile;๐use rustc_span::Span;๐use tracing::debug;๐use tracing::trace;๐use tracing::warn;๐use crate::html::render::Context;๐use crate::clean;๐use crate::config;๐use crate::formats;๐
Structsยง
- Call
Data ๐ - Call
Location ๐ - Find
Calls ๐ - Visitor for traversing a crate and finding instances of function calls.
- Scrape
Examples ๐Options - Syntax
Range ๐
Functionsยง
- load_
call_ ๐locations - run ๐
Type Aliasesยง
- AllCall
Locations ๐ - FnCall
Locations ๐