Skip to content

Commit 4309348

Browse files
authored
Merge branch 'dtolnay:master' into master
2 parents 6d3dd97 + 54562ac commit 4309348

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/ui/no-display.stderr

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ error[E0599]: the method `as_display` exists for reference `&NoDisplay`, but its
1313
note: the trait `std::fmt::Display` must be implemented
1414
--> $RUST/core/src/fmt/mod.rs
1515
|
16-
| pub trait Display {
17-
| ^^^^^^^^^^^^^^^^^
16+
| pub trait Display: PointeeSized {
17+
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1818
= help: items from traits can only be used if the trait is implemented and in scope
1919
= note: the following trait defines an item `as_display`, perhaps you need to implement it:
2020
candidate #1: `AsDisplay`

0 commit comments

Comments
 (0)