diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2025-02-12 23:44:38 +0100 |
|---|---|---|
| committer | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2025-02-15 13:38:42 +0100 |
| commit | 1f94d55a183c493ae2ca2754d9485f89e4ac76ae (patch) | |
| tree | 032642da69218d90b407923042fe00e6d4ada53b /tests/ui/string_slice.rs | |
| parent | 8a2dae63c3737ed9623035d55ed5e0e90e2942ab (diff) | |
| download | rust-1f94d55a183c493ae2ca2754d9485f89e4ac76ae.tar.gz rust-1f94d55a183c493ae2ca2754d9485f89e4ac76ae.zip | |
Fix new tests updates
Diffstat (limited to 'tests/ui/string_slice.rs')
| -rw-r--r-- | tests/ui/string_slice.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/ui/string_slice.rs b/tests/ui/string_slice.rs index 9251b348af3..0acc48c1f41 100644 --- a/tests/ui/string_slice.rs +++ b/tests/ui/string_slice.rs @@ -7,7 +7,6 @@ fn main() { &"Ölkanne"[1..]; //~^ string_slice - let m = "Mötörhead"; &m[2..5]; //~^ string_slice @@ -19,5 +18,4 @@ fn main() { let a = Cow::Borrowed("foo"); &a[0..3]; //~^ string_slice - } |
