about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDan Gohman <dev@sunfishcode.online>2022-04-19 14:47:33 -0700
committerDan Gohman <dev@sunfishcode.online>2022-04-19 14:47:33 -0700
commit9d448e849d708cf1bee9065d6dfe70fc7977c3a8 (patch)
tree477f5c3482ef678588fecbadda7f524de521db4a
parentef9a68f2019ff72bc85ff1bb92956141273c476c (diff)
downloadrust-9d448e849d708cf1bee9065d6dfe70fc7977c3a8.tar.gz
rust-9d448e849d708cf1bee9065d6dfe70fc7977c3a8.zip
Update line numbers in the expected output.
-rw-r--r--src/test/ui/coercion/coerce-issue-49593-box-never.nofallback.stderr4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/ui/coercion/coerce-issue-49593-box-never.nofallback.stderr b/src/test/ui/coercion/coerce-issue-49593-box-never.nofallback.stderr
index 1b1ce67cb0c..1daa91f025a 100644
--- a/src/test/ui/coercion/coerce-issue-49593-box-never.nofallback.stderr
+++ b/src/test/ui/coercion/coerce-issue-49593-box-never.nofallback.stderr
@@ -1,5 +1,5 @@
 error[E0277]: the trait bound `(): std::error::Error` is not satisfied
-  --> $DIR/coerce-issue-49593-box-never.rs:17:53
+  --> $DIR/coerce-issue-49593-box-never.rs:18:53
    |
 LL |     /* *mut $0 is coerced to Box<dyn Error> here */ Box::<_ /* ! */>::new(x)
    |                                                     ^^^^^^^^^^^^^^^^^^^^^^^^ 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
    = note: required for the cast to the object type `dyn std::error::Error`
 
 error[E0277]: the trait bound `(): std::error::Error` is not satisfied
-  --> $DIR/coerce-issue-49593-box-never.rs:22:49
+  --> $DIR/coerce-issue-49593-box-never.rs:23:49
    |
 LL |     /* *mut $0 is coerced to *mut Error here */ raw_ptr_box::<_ /* ! */>(x)
    |                                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::error::Error` is not implemented for `()`