blob: d0502f9badeb38f9aaa8ace67bceff8412725645 [file] [log] [blame]
error[E0277]: `NonError` doesn't implement `std::fmt::Display`
--> $DIR/result_no_display.rs:4:19
|
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