add TypingMode::Borrowck
This commit is contained in:
parent
990201cb78
commit
509a144eed
131 changed files with 888 additions and 747 deletions
|
@ -2553,6 +2553,9 @@ written to standard error output)"),
|
|||
"in diagnostics, use heuristics to shorten paths referring to items"),
|
||||
tune_cpu: Option<String> = (None, parse_opt_string, [TRACKED],
|
||||
"select processor to schedule for (`rustc --print target-cpus` for details)"),
|
||||
#[rustc_lint_opt_deny_field_access("use `TyCtxt::use_typing_mode_borrowck` instead of this field")]
|
||||
typing_mode_borrowck: bool = (false, parse_bool, [TRACKED],
|
||||
"enable `TypingMode::Borrowck`, changing the way opaque types are handled during MIR borrowck"),
|
||||
#[rustc_lint_opt_deny_field_access("use `Session::ub_checks` instead of this field")]
|
||||
ub_checks: Option<bool> = (None, parse_opt_bool, [TRACKED],
|
||||
"emit runtime checks for Undefined Behavior (default: -Cdebug-assertions)"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue