mirror of
https://github.com/microsoft/regorus.git
synced 2026-08-05 02:16:11 +00:00
fix: emit import warning to stderr (#430)
fixes #429 Signed-off-by: Anand Krishnamoorthi <anakrish@microsoft.com>
This commit is contained in:
committed by
GitHub
parent
9cba07b778
commit
0a9864f3ec
@@ -117,7 +117,7 @@ impl<'source> Parser<'source> {
|
||||
"`{kw}` will be treated as identifier due to missing `import future.keywords.{kw}`"
|
||||
);
|
||||
|
||||
std::println!(
|
||||
std::eprintln!(
|
||||
"{}",
|
||||
self.source
|
||||
.message(self.tok.1.line, self.tok.1.col, "warning", &msg)
|
||||
|
||||
Reference in New Issue
Block a user