-
-
Notifications
You must be signed in to change notification settings - Fork 16.6k
-Zpolonius help text says (default: no) on nightlies where the default is next #161543
Copy link
Copy link
Closed
Closed
Copy link
Labels
A-diagnosticsArea: Messages for errors, warnings, and lintsArea: Messages for errors, warnings, and lintsC-bugCategory: This is a bug.Category: This is a bug.NLL-poloniusIssues related for using Polonius in the borrow checkerIssues related for using Polonius in the borrow checkerT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.T-typesRelevant to the types team, which will review and decide on the PR/issue.Relevant to the types team, which will review and decide on the PR/issue.requires-nightlyThis issue requires a nightly compiler in some way. When possible, use a F-* label instead.This issue requires a nightly compiler in some way. When possible, use a F-* label instead.
Description
Activity
Metadata
Metadata
Assignees
Labels
A-diagnosticsArea: Messages for errors, warnings, and lintsArea: Messages for errors, warnings, and lintsC-bugCategory: This is a bug.Category: This is a bug.NLL-poloniusIssues related for using Polonius in the borrow checkerIssues related for using Polonius in the borrow checkerT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.T-typesRelevant to the types team, which will review and decide on the PR/issue.Relevant to the types team, which will review and decide on the PR/issue.requires-nightlyThis issue requires a nightly compiler in some way. When possible, use a F-* label instead.This issue requires a nightly compiler in some way. When possible, use a F-* label instead.
On current nightly, Polonius is enabled by default (see also #160456), but
-Z helpstill says the default isno.I expected to see this happen: the default is described as
nextin the help text because nightly enables Polonius by default.Instead, this happened: the default is described as
noin the help text.I think this is because
compiler/rustc_session/src/options.rs:2751is a static string, and it should probably vary based onCFG_DEFAULT_POLONIUS_NEXT?Meta
rustc --version --verbose:Backtrace
N/A
AI Disclosure: Discovered while trying out the alpha borrow checker with an AI tool, then investigated with AI assistance. All commands and outputs above were run and verified manually by me, and the ticket contents were written by me.