diff options
| author | Veera <sveera.2001@gmail.com> | 2023-12-20 22:53:56 -0500 |
|---|---|---|
| committer | Veera <sveera.2001@gmail.com> | 2023-12-20 22:53:56 -0500 |
| commit | 286f2d819eec03525992b8e4aeb201c3fb987a88 (patch) | |
| tree | 8ecaf7adf5b1365df5d52323a41d8cb614f7e65a /tests/ui/cast | |
| parent | e6e195e27e6d5d12a135e4a40472c253bd63a77f (diff) | |
| download | rust-286f2d819eec03525992b8e4aeb201c3fb987a88.tar.gz rust-286f2d819eec03525992b8e4aeb201c3fb987a88.zip | |
Update existing tests
Diffstat (limited to 'tests/ui/cast')
| -rw-r--r-- | tests/ui/cast/cast-to-slice.stderr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/cast/cast-to-slice.stderr b/tests/ui/cast/cast-to-slice.stderr index 340c9c48859..8f862c00014 100644 --- a/tests/ui/cast/cast-to-slice.stderr +++ b/tests/ui/cast/cast-to-slice.stderr @@ -1,7 +1,7 @@ error[E0620]: cast to unsized type: `&[u8]` as `[char]` --> $DIR/cast-to-slice.rs:2:5 | -LL | "example".as_bytes() as [char]; +LL | "example".as_bytes() as [char]; | ^^^^^^^^^^^^^^^^^^^^^^^^------ | | | help: try casting to a reference instead: `&[char]` |
