diff options
Diffstat (limited to 'cli/program_state.rs')
-rw-r--r-- | cli/program_state.rs | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/cli/program_state.rs b/cli/program_state.rs index 023e2604d..41b7c51fe 100644 --- a/cli/program_state.rs +++ b/cli/program_state.rs @@ -258,16 +258,6 @@ impl ProgramState { } } - /// Quits the process if the --unstable flag was not provided. - /// - /// This is intentionally a non-recoverable check so that people cannot probe - /// for unstable APIs from stable programs. - pub fn check_unstable(&self, api_name: &str) { - if !self.flags.unstable { - exit_unstable(api_name); - } - } - #[cfg(test)] pub fn mock( argv: Vec<String>, |