diff options
Diffstat (limited to 'tests/ui/no-display.stderr')
-rw-r--r-- | tests/ui/no-display.stderr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/no-display.stderr b/tests/ui/no-display.stderr index 76818e1..0f47c24 100644 --- a/tests/ui/no-display.stderr +++ b/tests/ui/no-display.stderr @@ -9,7 +9,7 @@ error[E0599]: the method `as_display` exists for reference `&NoDisplay`, but its | = note: the following trait bounds were not satisfied: `NoDisplay: std::fmt::Display` - which is required by `&NoDisplay: DisplayAsDisplay` + which is required by `&NoDisplay: AsDisplay<'_>` note: the trait `std::fmt::Display` must be implemented --> $RUST/core/src/fmt/mod.rs | |