aboutsummaryrefslogtreecommitdiff
path: root/src/check_stmt.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2023-07-31 17:30:03 +0100
committergingerBill <bill@gingerbill.org>2023-07-31 17:30:03 +0100
commit4b57aec1c6b926dedd77054b82b05a29c152a099 (patch)
tree4f007655ac378772cee1019214499e28e337e8c0 /src/check_stmt.cpp
parent2038bd0c1559c5f13769284dc4effbb5f608008a (diff)
Fix typo
Diffstat (limited to 'src/check_stmt.cpp')
-rw-r--r--src/check_stmt.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/check_stmt.cpp b/src/check_stmt.cpp
index a97a8d312..b497c0afb 100644
--- a/src/check_stmt.cpp
+++ b/src/check_stmt.cpp
@@ -2466,7 +2466,7 @@ gb_internal void check_stmt_internal(CheckerContext *ctx, Ast *node, u32 flags)
}
if (check_vet_flags(node) & VetFlag_UsingStmt) {
ERROR_BLOCK();
- error(node, "'using' as a statement is now allowed when '-vet' or '-vet-using' is applied");
+ error(node, "'using' as a statement is not allowed when '-vet' or '-vet-using' is applied");
error_line("\t'using' is considered bad practice to use as a statement outside of immediate refactoring\n");
}