diff options
| author | David Wood <david@davidtw.co> | 2020-07-16 17:52:23 +0100 |
|---|---|---|
| committer | David Wood <david@davidtw.co> | 2020-07-20 19:35:35 +0100 |
| commit | b1f8bd635696644f86bdb5ea69fb69ec50bc6d9b (patch) | |
| tree | f4c081257834b91b3eb89613bf3507adcf22585f /src/librustc_session | |
| parent | 5ce29d3d6f8994a1d9db9b9f8aa076001f7b8d07 (diff) | |
mir: use attribute over `-Z polymorphize-errors`
This commit replaces the `-Z polymorphize-errors` debugging flag with a `#[rustc_polymorphize_error]` attribute for use on functions. Signed-off-by: David Wood <david@davidtw.co>
Diffstat (limited to 'src/librustc_session')
| -rw-r--r-- | src/librustc_session/options.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/librustc_session/options.rs b/src/librustc_session/options.rs index 11fc40998b1..6b2097240e2 100644 --- a/src/librustc_session/options.rs +++ b/src/librustc_session/options.rs @@ -951,8 +951,6 @@ options! {DebuggingOptions, DebuggingSetter, basic_debugging_options, "enable polonius-based borrow-checker (default: no)"), polymorphize: bool = (true, parse_bool, [TRACKED], "perform polymorphization analysis"), - polymorphize_errors: bool = (false, parse_bool, [TRACKED], - "emit errors from polymorphization analysis for debugging"), pre_link_arg: (/* redirected to pre_link_args */) = ((), parse_string_push, [UNTRACKED], "a single extra argument to prepend the linker invocation (can be used several times)"), pre_link_args: Vec<String> = (Vec::new(), parse_list, [UNTRACKED], |
