Skip to content

Commit 85da855

Browse files
committed
refactor: clean up
1 parent a7d0318 commit 85da855

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

stack-control/src/compiletime/compiler.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,13 @@ pub enum CompilationException {
1717
UnexcpectedEndToken(String),
1818
FunctionTokenRequired,
1919
CommandNotFound(String),
20-
AliasNotFound(String),
2120
}
2221

2322
// TODO: Try macro?
2423

2524
impl ToString for CompilationException {
2625
fn to_string(&self) -> String {
2726
match self {
28-
CompilationException::AliasNotFound(alias) =>
29-
format!("Alias {alias} not found"),
3027
CompilationException::CommandNotFound(cmd) =>
3128
format!("Command '{cmd}' not found"),
3229
CompilationException::FunctionTokenRequired =>

0 commit comments

Comments
 (0)