We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a7d0318 commit 85da855Copy full SHA for 85da855
1 file changed
stack-control/src/compiletime/compiler.rs
@@ -17,16 +17,13 @@ pub enum CompilationException {
17
UnexcpectedEndToken(String),
18
FunctionTokenRequired,
19
CommandNotFound(String),
20
- AliasNotFound(String),
21
}
22
23
// TODO: Try macro?
24
25
impl ToString for CompilationException {
26
fn to_string(&self) -> String {
27
match self {
28
- CompilationException::AliasNotFound(alias) =>
29
- format!("Alias {alias} not found"),
30
CompilationException::CommandNotFound(cmd) =>
31
format!("Command '{cmd}' not found"),
32
CompilationException::FunctionTokenRequired =>
0 commit comments