diff options
| author | mejrs <59372212+mejrs@users.noreply.github.com> | 2025-06-16 17:51:29 +0200 |
|---|---|---|
| committer | mejrs <59372212+mejrs@users.noreply.github.com> | 2025-06-22 10:58:25 +0200 |
| commit | b1d18129d199c095372c39f75a5c3fb31ea166c2 (patch) | |
| tree | 69928d1509b5793acd55ca47b2bdee18038d11d2 /tests/ui/span | |
| parent | 8051f012658fde822bfc661b52e90950b411e5c9 (diff) | |
| download | rust-b1d18129d199c095372c39f75a5c3fb31ea166c2.tar.gz rust-b1d18129d199c095372c39f75a5c3fb31ea166c2.zip | |
Implement DesugaringKind::FormatLiteral
Diffstat (limited to 'tests/ui/span')
| -rw-r--r-- | tests/ui/span/issue-71363.stderr | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/tests/ui/span/issue-71363.stderr b/tests/ui/span/issue-71363.stderr index 90b623e89cf..31069914daa 100644 --- a/tests/ui/span/issue-71363.stderr +++ b/tests/ui/span/issue-71363.stderr @@ -2,10 +2,8 @@ error[E0277]: `MyError` doesn't implement `std::fmt::Display` --> $DIR/issue-71363.rs:4:28 | 4 | impl std::error::Error for MyError {} - | ^^^^^^^ `MyError` cannot be formatted with the default formatter + | ^^^^^^^ the trait `std::fmt::Display` is not implemented for `MyError` | - = 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 note: required by a bound in `std::error::Error` --> $SRC_DIR/core/src/error.rs:LL:COL @@ -13,9 +11,8 @@ error[E0277]: `MyError` doesn't implement `Debug` --> $DIR/issue-71363.rs:4:28 | 4 | impl std::error::Error for MyError {} - | ^^^^^^^ `MyError` cannot be formatted using `{:?}` + | ^^^^^^^ the trait `Debug` is not implemented for `MyError` | - = help: the trait `Debug` is not implemented for `MyError` = note: add `#[derive(Debug)]` to `MyError` or manually `impl Debug for MyError` note: required by a bound in `std::error::Error` --> $SRC_DIR/core/src/error.rs:LL:COL |
