diff options
| author | Dan Gohman <dev@sunfishcode.online> | 2022-04-26 12:47:24 -0700 |
|---|---|---|
| committer | Dan Gohman <dev@sunfishcode.online> | 2022-04-26 12:47:24 -0700 |
| commit | 531c9373be094ad4e3ee28464dfacbb2fdea50a5 (patch) | |
| tree | dd4dbb2495247c8a189adc5b829b53800bc14c0b | |
| parent | 839cd04cc44202784436bdd07fd4899f2d67d43a (diff) | |
| download | rust-531c9373be094ad4e3ee28464dfacbb2fdea50a5.tar.gz rust-531c9373be094ad4e3ee28464dfacbb2fdea50a5.zip | |
Fix the filename in the expected error message.
| -rw-r--r-- | src/test/ui/coercion/coerce-issue-49593-box-never-windows.nofallback.stderr | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/ui/coercion/coerce-issue-49593-box-never-windows.nofallback.stderr b/src/test/ui/coercion/coerce-issue-49593-box-never-windows.nofallback.stderr index e40e96599fa..ab9cc707aa0 100644 --- a/src/test/ui/coercion/coerce-issue-49593-box-never-windows.nofallback.stderr +++ b/src/test/ui/coercion/coerce-issue-49593-box-never-windows.nofallback.stderr @@ -1,5 +1,5 @@ error[E0277]: the trait bound `(): std::error::Error` is not satisfied - --> $DIR/coerce-issue-49593-box-never.rs:18:53 + --> $DIR/coerce-issue-49593-box-never-windows.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:23:49 + --> $DIR/coerce-issue-49593-box-never-windows.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 `()` |
