fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #72883 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum49cae55760d

1.44.0
337 B11 linesraw
1error: borrow expressions cannot be annotated with lifetimes
2  --> $DIR/regions-out-of-scope-slice.rs:7:13
3   |
4LL |         x = &'blk [1,2,3];
5   |             ^----^^^^^^^^
6   |              |
7   |              annotated with lifetime here
8   |              help: remove the lifetime annotation
9
10error: aborting due to previous error
11