mirror of
https://github.com/dtolnay/thiserror.git
synced 2025-04-03 21:07:38 +03:00
error[E0599]: the method `as_display` exists for reference `&<T as FromStr>::Err`, but its trait bounds were not satisfied --> tests/test_generics.rs:178:13 | 178 | #[error("couldn't parse entry: {0}")] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ method cannot be called on `&<T as FromStr>::Err` due to unsatisfied trait bounds | = note: the following trait bounds were not satisfied: `<T as FromStr>::Err: std::fmt::Display` which is required by `&<T as FromStr>::Err: AsDisplay<'_>` |
||
---|---|---|
.. | ||
no-std | ||
ui | ||
compiletest.rs | ||
test_backtrace.rs | ||
test_display.rs | ||
test_error.rs | ||
test_expr.rs | ||
test_from.rs | ||
test_generics.rs | ||
test_lints.rs | ||
test_option.rs | ||
test_path.rs | ||
test_source.rs | ||
test_transparent.rs |