diff --git a/crates/cli/cli-components/src/impls/parse/identifier.rs b/crates/cli/cli-components/src/impls/parse/identifier.rs index 63f047fd7..a4f0d696b 100644 --- a/crates/cli/cli-components/src/impls/parse/identifier.rs +++ b/crates/cli/cli-components/src/impls/parse/identifier.rs @@ -1,7 +1,7 @@ use core::marker::PhantomData; -use core::str::FromStr; use cgp::prelude::*; +use ibc::core::host::types::error::IdentifierError; use ibc::core::host::types::identifiers::PortId; use crate::traits::parse::ArgParser; @@ -12,9 +12,9 @@ pub struct ParsePortId(pub PhantomData); impl ArgParser for ParsePortId where - App: CanRaiseAsyncError, + App: CanRaiseAsyncError, Args: HasField, - Parsed: Async + FromStr, + Parsed: Async, { type Parsed = PortId;