File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed
Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -2,10 +2,8 @@ error[E0277]: `Weight` doesn't implement `std::fmt::Display`
22 --> tests/ui/any/derive/display.rs:5:1
33 |
445 | #[nutype(derive(Display))]
5- | ^^^^^^^^^^^^^^^^^^^^^^^^^^ `Weight` cannot be formatted with the default formatter
5+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::fmt::Display` is not implemented for `Weight`
66 |
7- = help: the trait `std::fmt::Display` is not implemented for `Weight`
8- = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
97note: required by a bound in `display`
108 --> tests/ui/any/derive/display.rs:5:1
119 |
Original file line number Diff line number Diff line change 1- error[E0080]: evaluation of constant value failed
1+ error[E0080]: evaluation panicked: Invalid Celsius value
22 --> tests/ui/common/invalid_constant.rs:12:15
33 |
4412 | Err(_) => panic!("Invalid Celsius value"),
5- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ evaluation panicked: Invalid Celsius value
5+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ evaluation of `TOO_COLD` failed here
You can’t perform that action at this time.
0 commit comments