mirror of
https://gitee.com/openharmony/third_party_rust_cxx
synced 2024-11-23 07:10:29 +00:00
Update ui test suite to nightly-2022-03-31
This commit is contained in:
parent
4f3cd190e6
commit
3f3705978e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user