Skip to content

Commit 0a9864f

Browse files
authored
fix: emit import warning to stderr (microsoft#430)
fixes microsoft#429 Signed-off-by: Anand Krishnamoorthi <anakrish@microsoft.com>
1 parent 9cba07b commit 0a9864f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/parser.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ impl<'source> Parser<'source> {
117117
"`{kw}` will be treated as identifier due to missing `import future.keywords.{kw}`"
118118
);
119119

120-
std::println!(
120+
std::eprintln!(
121121
"{}",
122122
self.source
123123
.message(self.tok.1.line, self.tok.1.col, "warning", &msg)

0 commit comments

Comments
 (0)