fork/rust

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

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
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