Update ui test suite to nightly-2022-03-31

This commit is contained in:
David Tolnay 2022-03-30 19:31:36 -07:00
parent 4f3cd190e6
commit 3f3705978e
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82

View File

@ -6,3 +6,12 @@ error[E0277]: `NonError` doesn't implement `std::fmt::Display`
|
= help: the trait `std::fmt::Display` is not implemented for `NonError`
= note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
error[E0277]: `NonError` doesn't implement `std::fmt::Display`
--> tests/ui/result_no_display.rs:4:12
|
4 | fn f() -> Result<()>;
| ^ `NonError` cannot be formatted with the default formatter
|
= help: the trait `std::fmt::Display` is not implemented for `NonError`
= note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead