diff --git a/src/lib.rs b/src/lib.rs index 7a8274119..2e9b8fb06 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,5 +1,4 @@ #![feature(generators)] -#![feature(specialization)] #![feature(proc_macro_hygiene)] #[macro_use] diff --git a/src/object/types.rs b/src/object/types.rs index 913c43358..8dca43d87 100644 --- a/src/object/types.rs +++ b/src/object/types.rs @@ -5,16 +5,6 @@ pub trait ExtractType: Sized { fn extract(value: &Tagged) -> Result; } -impl ExtractType for T { - default fn extract(_value: &Tagged) -> Result { - let name = std::any::type_name::(); - Err(ShellError::unimplemented(format!( - " ExtractType for {}", - name - ))) - } -} - impl ExtractType for Tagged { fn extract(value: &Tagged) -> Result, ShellError> { let name = std::any::type_name::();