diff options
| author | Eric Huss <eric@huss.org> | 2021-06-19 17:06:46 -0700 |
|---|---|---|
| committer | Eric Huss <eric@huss.org> | 2021-07-14 08:37:58 -0700 |
| commit | 636fcacb447c65df4d5eda363218b979f11ce057 (patch) | |
| tree | 3c56e8fb76e59b6c42e6b62c5f4a9f64fdf1be38 /compiler/rustc_session | |
| parent | a08f25a7ef2800af5525762e981c24d96c14febe (diff) | |
| download | rust-636fcacb447c65df4d5eda363218b979f11ce057.tar.gz rust-636fcacb447c65df4d5eda363218b979f11ce057.zip | |
Add -Zfuture-incompat-test to assist with testing future-incompat reports.
Diffstat (limited to 'compiler/rustc_session')
| -rw-r--r-- | compiler/rustc_session/src/options.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/rustc_session/src/options.rs b/compiler/rustc_session/src/options.rs index 4c40d0c367e..474cd86f43b 100644 --- a/compiler/rustc_session/src/options.rs +++ b/compiler/rustc_session/src/options.rs @@ -1084,6 +1084,8 @@ options! { "set the optimization fuel quota for a crate"), function_sections: Option<bool> = (None, parse_opt_bool, [TRACKED], "whether each function should go in its own section"), + future_incompat_test: bool = (false, parse_bool, [UNTRACKED], + "forces all lints to be future incompatible, used for internal testing (default: no)"), gcc_ld: Option<LdImpl> = (None, parse_gcc_ld, [TRACKED], "implementation of ld used by cc"), graphviz_dark_mode: bool = (false, parse_bool, [UNTRACKED], "use dark-themed colors in graphviz output (default: no)"), |
