aboutsummaryrefslogtreecommitdiff
path: root/src/parser.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2020-05-23 13:39:18 +0100
committergingerBill <bill@gingerbill.org>2020-05-23 13:39:18 +0100
commit4671207c61c868b4ed1297c3dca8d7a8bd0ba820 (patch)
treea7e0f88763a60c818ac4fcee1a1959d6880cbce7 /src/parser.cpp
parentaa029fe8d9d48477f0be27fa79f8c541451a8a0a (diff)
Make the `using import` deprecation warning an error
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);