mirror of
https://github.com/RustPython/RustPython.git
synced 2026-10-28 18:59:04 +08:00
Print warning to stderr
Co-Authored-By: coolreader18 <33094578+coolreader18@users.noreply.github.com>
This commit is contained in:
1 parent
d2a82b1acd
commit
8fccad1e09
1 file changed
+1
-1
@@ -19,7 +19,7 @@ fn warnings_warn(args: WarnArgs, _vm: &VirtualMachine) {
|
||||
OptionalArg::Present(l) => l,
|
||||
OptionalArg::Missing => 1,
|
||||
};
|
||||
println!(
|
||||
eprintln!(
|
||||
"Warning: {} , category: {:?}, level: {}",
|
||||
args.message.as_str(),
|
||||
args.category,
|
||||
|
||||
Reference in new issue
Block a user