Skip to content

Commit 4f88283

Browse files
qmxspastorino
authored andcommitted
expose -Zpolonius flag
1 parent 422fe7c commit 4f88283

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/librustc/session/config.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1296,6 +1296,8 @@ options! {DebuggingOptions, DebuggingSetter, basic_debugging_options,
12961296
"dump facts from NLL analysis into side files"),
12971297
disable_nll_user_type_assert: bool = (false, parse_bool, [UNTRACKED],
12981298
"disable user provided type assertion in NLL"),
1299+
polonius: bool = (false, parse_bool, [UNTRACKED],
1300+
"enable polonius-based borrow-checker"),
12991301
codegen_time_graph: bool = (false, parse_bool, [UNTRACKED],
13001302
"generate a graphical HTML report of time spent in codegen and LLVM"),
13011303
thinlto: Option<bool> = (None, parse_opt_bool, [TRACKED],

0 commit comments

Comments
 (0)