@@ -266,7 +266,7 @@ LL | let _ = some_vec.get_mut(0..1).unwrap().to_vec();
266266 = help: consider using `expect()` to provide a better panic message
267267
268268error: called `.get().unwrap()` on a slice
269- --> tests/ui/get_unwrap.rs:77 :24
269+ --> tests/ui/get_unwrap.rs:78 :24
270270 |
271271LL | let _x: &i32 = f.get(1 + 2).unwrap();
272272 | ^^^^^^^^^^^^^^^^^^^^^
@@ -277,7 +277,7 @@ LL | let _x: &i32 = &f[1 + 2];
277277 | ~~~~~~~~~
278278
279279error: called `.get().unwrap()` on a slice
280- --> tests/ui/get_unwrap.rs:80 :18
280+ --> tests/ui/get_unwrap.rs:81 :18
281281 |
282282LL | let _x = f.get(1 + 2).unwrap().to_string();
283283 | ^^^^^^^^^^^^^^^^^^^^^
@@ -288,7 +288,7 @@ LL | let _x = f[1 + 2].to_string();
288288 | ~~~~~~~~
289289
290290error: called `.get().unwrap()` on a slice
291- --> tests/ui/get_unwrap.rs:83 :18
291+ --> tests/ui/get_unwrap.rs:84 :18
292292 |
293293LL | let _x = f.get(1 + 2).unwrap().abs();
294294 | ^^^^^^^^^^^^^^^^^^^^^
@@ -299,7 +299,7 @@ LL | let _x = f[1 + 2].abs();
299299 | ~~~~~~~~
300300
301301error: called `.get_mut().unwrap()` on a slice
302- --> tests/ui/get_unwrap.rs:100 :33
302+ --> tests/ui/get_unwrap.rs:101 :33
303303 |
304304LL | let b = rest.get_mut(linidx(j, k) - linidx(i, k) - 1).unwrap();
305305 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
0 commit comments