fork/rust

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

borsAuto merge of #69444 - pietroalbini:stable-next-final-v2-new, r=pietroalbinif3e1a954d2e

1.41.1
624 B18 linesraw
1error: raw borrows are not yet implemented
2  --> $DIR/unusual_locations.rs:5:36
3   |
4LL | const USES_PTR: () = { let u = (); &raw const u; };
5   |                                    ^^^^^^^^^^^^
6   |
7   = note: for more information, see https://github.com/rust-lang/rust/issues/64490
8
9error: raw borrows are not yet implemented
10  --> $DIR/unusual_locations.rs:6:42
11   |
12LL | static ALSO_USES_PTR: () = { let u = (); &raw const u; };
13   |                                          ^^^^^^^^^^^^
14   |
15   = note: for more information, see https://github.com/rust-lang/rust/issues/64490
16
17error: aborting due to 2 previous errors
18