diff options
Diffstat (limited to 'third_party/rust/thiserror/tests/ui/no-display.stderr')
-rw-r--r-- | third_party/rust/thiserror/tests/ui/no-display.stderr | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/third_party/rust/thiserror/tests/ui/no-display.stderr b/third_party/rust/thiserror/tests/ui/no-display.stderr index 0f47c24b62..88d0092678 100644 --- a/third_party/rust/thiserror/tests/ui/no-display.stderr +++ b/third_party/rust/thiserror/tests/ui/no-display.stderr @@ -15,3 +15,6 @@ note: the trait `std::fmt::Display` must be implemented | | pub trait Display { | ^^^^^^^^^^^^^^^^^ + = help: items from traits can only be used if the trait is implemented and in scope + = note: the following trait defines an item `as_display`, perhaps you need to implement it: + candidate #1: `AsDisplay` |