From 4f88283869c6f1c69ed4fd56d2e9a1b065401cd4 Mon Sep 17 00:00:00 2001 From: Douglas Campos Date: Fri, 25 May 2018 22:17:04 +0000 Subject: [PATCH] expose -Zpolonius flag --- src/librustc/session/config.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/librustc/session/config.rs b/src/librustc/session/config.rs index b3f1b9c8e62..755b4af1a3a 100644 --- a/src/librustc/session/config.rs +++ b/src/librustc/session/config.rs @@ -1296,6 +1296,8 @@ options! {DebuggingOptions, DebuggingSetter, basic_debugging_options, "dump facts from NLL analysis into side files"), disable_nll_user_type_assert: bool = (false, parse_bool, [UNTRACKED], "disable user provided type assertion in NLL"), + polonius: bool = (false, parse_bool, [UNTRACKED], + "enable polonius-based borrow-checker"), codegen_time_graph: bool = (false, parse_bool, [UNTRACKED], "generate a graphical HTML report of time spent in codegen and LLVM"), thinlto: Option = (None, parse_opt_bool, [TRACKED],