From dbdb5a2f2bcd10a01c51f6f3a7f0c8a4abfd251f Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Mon, 20 Apr 2020 11:22:00 -0700 Subject: [PATCH] Update ui tests to nightly-2020-04-20 Relevant rustc bug: https://github.com/rust-lang/rust/issues/71363 --- tests/ui/missing-display.stderr | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/tests/ui/missing-display.stderr b/tests/ui/missing-display.stderr index ac76817..2dfec2a 100644 --- a/tests/ui/missing-display.stderr +++ b/tests/ui/missing-display.stderr @@ -1,8 +1,8 @@ error[E0277]: `MyError` doesn't implement `std::fmt::Display` - --> $DIR/missing-display.rs:4:1 - | -4 | pub enum MyError { - | ^^^^^^^^^^^^^^^^ `MyError` cannot be formatted with the default formatter - | - = help: the trait `std::fmt::Display` is not implemented for `MyError` - = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead + --> $DIR/missing-display.rs:4:1 + | +4 | pub enum MyError { + | ^^^^^^^^^^^^^^^^ `MyError` cannot be formatted with the default formatter + | + = help: the trait `std::fmt::Display` is not implemented for `MyError` + = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead