Module passes

Source

Structs§

LintStoreExpandImpl πŸ”’

Statics§

DEFAULT_QUERY_PROVIDERS

Functions§

analysis πŸ”’
Runs the type-checking, region checking and other miscellaneous analysis passes on the crate.
check_for_rustc_errors_attr πŸ”’
Check for the #[rustc_error] annotation, which forces an error in codegen. This is used to write UI tests that actually test that compilation succeeds without reporting an error.
configure_and_expand πŸ”’
Runs the β€œearly phases” of the compiler: initial cfg processing, syntax expansion, secondary cfg expansion, synthesis of a test harness if one is to be provided, injection of a dependency on the standard library and prelude, and name resolution.
create_and_enter_global_ctxt
early_lint_checks πŸ”’
escape_dep_env πŸ”’
escape_dep_filename πŸ”’
generated_output_paths πŸ”’
get_crate_name
Compute and validate the crate name.
get_recursion_limit πŸ”’
output_conflicts_with_dir πŸ”’
output_contains_path πŸ”’
parse
pre_expansion_lint πŸ”’
resolver_for_lowering_raw πŸ”’
run_required_analyses πŸ”’
Runs all analyses that we guarantee to run, even if errors were reported in earlier analyses. This function never fails.
start_codegen πŸ”’
Runs the codegen backend, after which the AST and analysis can be discarded.
validate_and_find_value_str_builtin_attr πŸ”’
Validate all occurrences of the given β€œvalue-str” built-in attribute and return the first find.
write_dep_info
write_out_deps πŸ”’