Open BugenZhao opened 6 months ago
Tracks uncovered patterns of format_error lints after its introduction in #13750.
format_error
Error formatting on anyhow::Error
anyhow::Error
std::error::Error
Formatting on Report when constructing anyhow::Error
Report
$foo
has_span_from_proc_macro
This issue has been open for 60 days with no activity. Could you please update the status? Feel free to continue discussion or close as not planned.
Tracks uncovered patterns of
format_error
lints after its introduction in #13750.Resolved
Error formatting on
anyhow::Error
anyhow::Error
does not implementstd::error::Error
.Formatting on
Report
when constructinganyhow::Error
Report
is good. But there's no reason to do this if we're originally to construct ananyhow::Error
. Should cover this as well.Unresolved
$foo
) nearby.has_span_from_proc_macro
https://github.com/risingwavelabs/risingwave/blob/495ed83a8638092fde9554782510c22520b697db/lints/src/utils/format_args_collector.rs#L42-L47