diff --git a/crates/nu-protocol/src/config/error.rs b/crates/nu-protocol/src/config/error.rs index b13dceeb02..c8fbd3f85a 100644 --- a/crates/nu-protocol/src/config/error.rs +++ b/crates/nu-protocol/src/config/error.rs @@ -65,6 +65,8 @@ impl<'a> ConfigErrors<'a> { }); } + // We'll probably need this again in the future so allow dead code for now + #[allow(dead_code)] pub fn deprecated_option(&mut self, path: &ConfigPath, suggestion: &'static str, span: Span) { self.error(ConfigError::Deprecated { path: path.to_string(), diff --git a/crates/nu-protocol/src/config/mod.rs b/crates/nu-protocol/src/config/mod.rs index c66c41e455..85ae9ce1e3 100644 --- a/crates/nu-protocol/src/config/mod.rs +++ b/crates/nu-protocol/src/config/mod.rs @@ -156,10 +156,6 @@ impl UpdateFromValue for Config { "filesize" => self.filesize.update(val, path, errors), "explore" => self.explore.update(val, path, errors), "color_config" => self.color_config.update(val, path, errors), - "use_grid_icons" => { - // TODO: delete it after 0.99 - errors.deprecated_option(path, "use `grid -i`", val.span()); - } "footer_mode" => self.footer_mode.update(val, path, errors), "float_precision" => self.float_precision.update(val, path, errors), "use_ansi_coloring" => self.use_ansi_coloring.update(val, path, errors),