Skip to content

Commit 9d448e8

Browse files
committed
Update line numbers in the expected output.
1 parent ef9a68f commit 9d448e8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/ui/coercion/coerce-issue-49593-box-never.nofallback.stderr

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error[E0277]: the trait bound `(): std::error::Error` is not satisfied
2-
--> $DIR/coerce-issue-49593-box-never.rs:17:53
2+
--> $DIR/coerce-issue-49593-box-never.rs:18:53
33
|
44
LL | /* *mut $0 is coerced to Box<dyn Error> here */ Box::<_ /* ! */>::new(x)
55
| ^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::error::Error` is not implemented for `()`
@@ -17,7 +17,7 @@ LL | /* *mut $0 is coerced to Box<dyn Error> here */ Box::<_ /* ! */>::new(x
1717
= note: required for the cast to the object type `dyn std::error::Error`
1818

1919
error[E0277]: the trait bound `(): std::error::Error` is not satisfied
20-
--> $DIR/coerce-issue-49593-box-never.rs:22:49
20+
--> $DIR/coerce-issue-49593-box-never.rs:23:49
2121
|
2222
LL | /* *mut $0 is coerced to *mut Error here */ raw_ptr_box::<_ /* ! */>(x)
2323
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::error::Error` is not implemented for `()`

0 commit comments

Comments
 (0)