diff options
| author | Edvard Thörnros <edvard.thornros@gmail.com> | 2021-02-19 17:44:39 +0100 |
|---|---|---|
| committer | Edvard Thörnros <edvard.thornros@gmail.com> | 2021-02-19 17:44:39 +0100 |
| commit | f024e88de53c24fd5e5e2fb2d66947dc93262af8 (patch) | |
| tree | 020072e9f7950de2f84d0a7b2309d15ba93d742d /src | |
| parent | 31d68bc738c2973c6f018e38a0fb89f6e233f444 (diff) | |
| download | sylt-f024e88de53c24fd5e5e2fb2d66947dc93262af8.tar.gz | |
fix incorrect error message
Diffstat (limited to 'src')
| -rw-r--r-- | src/compiler.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler.rs b/src/compiler.rs index a3066b0..cd4ffda 100644 --- a/src/compiler.rs +++ b/src/compiler.rs @@ -281,7 +281,7 @@ macro_rules! push_frame { $compiler.error_on_line( e, var.line, - Some(format!("Usage of undefined value: '{}'.", var.name)) + Some(format!("Unused value '{}'.", var.name)) ); } $compiler.panic = false; |
