Skip to content

Commit dbdb5a2

Browse files
committed
Update ui tests to nightly-2020-04-20
Relevant rustc bug: rust-lang/rust#71363
1 parent d8d55e6 commit dbdb5a2

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

tests/ui/missing-display.stderr

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
error[E0277]: `MyError` doesn't implement `std::fmt::Display`
2-
--> $DIR/missing-display.rs:4:1
3-
|
4-
4 | pub enum MyError {
5-
| ^^^^^^^^^^^^^^^^ `MyError` cannot be formatted with the default formatter
6-
|
7-
= help: the trait `std::fmt::Display` is not implemented for `MyError`
8-
= note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
2+
--> $DIR/missing-display.rs:4:1
3+
|
4+
4 | pub enum MyError {
5+
| ^^^^^^^^^^^^^^^^ `MyError` cannot be formatted with the default formatter
6+
|
7+
= help: the trait `std::fmt::Display` is not implemented for `MyError`
8+
= note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead

0 commit comments

Comments
 (0)