Change rule name
This commit is contained in:
parent
956dd204dc
commit
9eb2b575af
|
@ -240,7 +240,7 @@ private:
|
||||||
immutable string errorMessage = "Variable " ~ vi.name
|
immutable string errorMessage = "Variable " ~ vi.name
|
||||||
~ " is never modified and could have been declared const"
|
~ " is never modified and could have been declared const"
|
||||||
~ " or immutable.";
|
~ " or immutable.";
|
||||||
addErrorMessage(vi.line, vi.column, "dscanner.suspicious.could_be_immutable",
|
addErrorMessage(vi.line, vi.column, "dscanner.suspicious.unmodified",
|
||||||
errorMessage);
|
errorMessage);
|
||||||
}
|
}
|
||||||
tree = tree[0 .. $ - 1];
|
tree = tree[0 .. $ - 1];
|
||||||
|
|
Loading…
Reference in New Issue