aboutsummaryrefslogtreecommitdiff
path: root/src/parser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/parser.cpp')
-rw-r--r--src/parser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parser.cpp b/src/parser.cpp
index 6a6a4ecd0..3d2041183 100644
--- a/src/parser.cpp
+++ b/src/parser.cpp
@@ -3895,7 +3895,7 @@ Ast *parse_import_decl(AstFile *f, ImportDeclKind kind) {
}
if (is_using) {
- syntax_warning(import_name, "'using import' is deprecated, please use the import name explicitly");
+ syntax_error(import_name, "'using import' is not allowed, please use the import name explicitly");
}
expect_semicolon(f, s);