mirror of
https://github.com/Noratrieb/riverdelta.git
synced 2026-01-16 17:35:02 +01:00
Detect unused variables
This commit is contained in:
parent
f164aad631
commit
9270f52e6b
33 changed files with 340 additions and 63 deletions
|
|
@ -10,3 +10,11 @@ error: cannot assign String to Int
|
|||
--> $DIR/basic_recovery.nil:3
|
||||
3 | let b: Int = "";
|
||||
^
|
||||
warning: unused variable: `a`
|
||||
--> $DIR/basic_recovery.nil:2
|
||||
2 | let a: Int = "";
|
||||
^
|
||||
warning: unused variable: `b`
|
||||
--> $DIR/basic_recovery.nil:3
|
||||
3 | let b: Int = "";
|
||||
^
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue