pub struct Session {
pub target: Config,
pub host: Target,
pub opts: Options,
pub cstore: CStore,
pub parse_sess: ParseSess,
pub entry_fn: RefCell<Option<(NodeId, Span)>>,
pub entry_type: Cell<Option<EntryFnType>>,
pub plugin_registrar_fn: Cell<Option<NodeId>>,
pub default_sysroot: Option<Path>,
pub local_crate_source_file: Option<Path>,
pub working_dir: Path,
pub lint_store: RefCell<LintStore>,
pub lints: RefCell<NodeMap<Vec<(LintId, Span, String)>>>,
pub crate_types: RefCell<Vec<CrateType>>,
pub crate_metadata: RefCell<Vec<String>>,
pub features: RefCell<Features>,
pub recursion_limit: Cell<usize>,
pub can_print_warnings: bool,
}
Fields
target | |
host | |
opts | |
cstore | |
parse_sess | |
entry_fn | |
entry_type | |
plugin_registrar_fn | |
default_sysroot | |
local_crate_source_file | |
working_dir | |
lint_store | |
lints | |
crate_types | |
crate_metadata | |
features | |
recursion_limit | The maximum recursion limit for potentially infinitely recursive
operations such as auto-dereference and monomorphization.
|
can_print_warnings | |
Methods
Keyboard shortcuts
- ?
- Show this help dialog
- S
- Focus the search field
- ⇤
- Move up in search results
- ⇥
- Move down in search results
- ⏎
- Go to active search result
Search tricks
Prefix searches with a type followed by a colon (e.g.
fn:
) to restrict the search to a given type.
Accepted types are: fn
, mod
,
struct
, enum
,
trait
, typedef
(or
tdef
).