diff --git a/tests/ui/no-impl.stderr b/tests/ui/no-impl.stderr index 1ddf768..72cde3b 100644 --- a/tests/ui/no-impl.stderr +++ b/tests/ui/no-impl.stderr @@ -2,11 +2,7 @@ error[E0599]: the method `anyhow_kind` exists for reference `&Error`, but its tr --> tests/ui/no-impl.rs:7:13 | 4 | struct Error; - | ------------ - | | - | doesn't satisfy `Error: Into` - | doesn't satisfy `Error: anyhow::kind::TraitKind` - | doesn't satisfy `Error: std::fmt::Display` + | ------------ doesn't satisfy `Error: Into`, `Error: anyhow::kind::TraitKind` or `Error: std::fmt::Display` ... 7 | let _ = anyhow!(Error); | ^^^^^^^^^^^^^^ method cannot be called on `&Error` due to unsatisfied trait bounds