Skip to content

Commit edc2d3b

Browse files
committed
Fix dev ui tests
1 parent 84deebf commit edc2d3b

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

test_suite/tests/ui/any/derive/display.stderr

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff 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
|
44
5 | #[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
97
note: required by a bound in `display`
108
--> tests/ui/any/derive/display.rs:5:1
119
|
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
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
|
44
12 | Err(_) => panic!("Invalid Celsius value"),
5-
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ evaluation panicked: Invalid Celsius value
5+
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ evaluation of `TOO_COLD` failed here

0 commit comments

Comments
 (0)