diff options
Diffstat (limited to 'mingling_core/src')
| -rw-r--r-- | mingling_core/src/comp.rs | 3 | ||||
| -rw-r--r-- | mingling_core/src/program/collection.rs | 6 |
2 files changed, 5 insertions, 4 deletions
diff --git a/mingling_core/src/comp.rs b/mingling_core/src/comp.rs index 4fb17c7..9d84557 100644 --- a/mingling_core/src/comp.rs +++ b/mingling_core/src/comp.rs @@ -82,7 +82,8 @@ impl CompletionHelper { let suggest = if let Ok(any) = P::dispatch_args_trie(&args) { trace!("entry type: {}", any.member_id); - let dispatcher_not_found = <P::DispatcherNotFound as crate::Groupped<P>>::member_id(); + let dispatcher_not_found = + <P::ErrorDispatcherNotFound as crate::Groupped<P>>::member_id(); if dispatcher_not_found == any.member_id { trace!("begin not Ok"); diff --git a/mingling_core/src/program/collection.rs b/mingling_core/src/program/collection.rs index dec2af6..ff26411 100644 --- a/mingling_core/src/program/collection.rs +++ b/mingling_core/src/program/collection.rs @@ -18,9 +18,9 @@ use crate::{ShellContext, Suggest}; pub trait ProgramCollect { /// Enum type representing internal IDs for the program type Enum; - type DispatcherNotFound: Groupped<Self::Enum>; - type RendererNotFound: Groupped<Self::Enum>; - type EmptyResult: Groupped<Self::Enum>; + type ErrorDispatcherNotFound: Groupped<Self::Enum>; + type ErrorRendererNotFound: Groupped<Self::Enum>; + type ResultEmpty: Groupped<Self::Enum>; /// Use a prefix tree to quickly match arguments and dispatch to an Entry #[cfg(feature = "dispatch_tree")] |
