瀏覽代碼

Merge branch 'master' into windows-llvm-13.0.0

gingerBill 2 年之前
父節點
當前提交
feb9940ddb
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/check_stmt.cpp

+ 1 - 1
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");
 		}