Print as debug

This commit is contained in:
Ayaz Hafiz 2023-04-02 09:15:37 -05:00
parent 25f58a74cc
commit b1f076e334
No known key found for this signature in database
GPG key ID: 0E2A37416A25EF58

View file

@ -139,7 +139,7 @@ impl TestCase {
match opt.trim() {
"allow_errors" => infer_opts.allow_errors = true,
"print_only_under_alias" => infer_opts.print_only_under_alias = true,
other => return Err(format!("unknown infer option: {other}").into()),
other => return Err(format!("unknown infer option: {other:?}").into()),
}
}
@ -154,7 +154,7 @@ impl TestCase {
let opt = infer_opt.name("opt").unwrap().as_str();
match opt.trim() {
"can_decls" => print_opts.can_decls = true,
other => return Err(format!("unknown print option: {other}").into()),
other => return Err(format!("unknown print option: {other:?}").into()),
}
}