fork/rust

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

borsAuto merge of #68568 - pietroalbini:stable-next, r=pietroalbini5e1a799842b

1.41.0
1.9 KiB57 linesraw
1error[E0658]: raw address of syntax is experimental
2  --> $DIR/feature-raw-ref-op.rs:13:5
3   |
4LL |     &raw const a;
5   |     ^^^^^^^^^^
6   |
7   = note: for more information, see https://github.com/rust-lang/rust/issues/64490
8   = help: add `#![feature(raw_ref_op)]` to the crate attributes to enable
9
10error[E0658]: raw address of syntax is experimental
11  --> $DIR/feature-raw-ref-op.rs:14:5
12   |
13LL |     &raw mut a;
14   |     ^^^^^^^^
15   |
16   = note: for more information, see https://github.com/rust-lang/rust/issues/64490
17   = help: add `#![feature(raw_ref_op)]` to the crate attributes to enable
18
19error[E0658]: raw address of syntax is experimental
20  --> $DIR/feature-raw-ref-op.rs:19:13
21   |
22LL |     let x = &raw const y;
23   |             ^^^^^^^^^^
24   |
25   = note: for more information, see https://github.com/rust-lang/rust/issues/64490
26   = help: add `#![feature(raw_ref_op)]` to the crate attributes to enable
27
28error[E0658]: raw address of syntax is experimental
29  --> $DIR/feature-raw-ref-op.rs:20:13
30   |
31LL |     let x = &raw mut y;
32   |             ^^^^^^^^
33   |
34   = note: for more information, see https://github.com/rust-lang/rust/issues/64490
35   = help: add `#![feature(raw_ref_op)]` to the crate attributes to enable
36
37error[E0658]: raw address of syntax is experimental
38  --> $DIR/feature-raw-ref-op.rs:7:10
39   |
40LL | is_expr!(&raw const a);
41   |          ^^^^^^^^^^
42   |
43   = note: for more information, see https://github.com/rust-lang/rust/issues/64490
44   = help: add `#![feature(raw_ref_op)]` to the crate attributes to enable
45
46error[E0658]: raw address of syntax is experimental
47  --> $DIR/feature-raw-ref-op.rs:8:10
48   |
49LL | is_expr!(&raw mut a);
50   |          ^^^^^^^^
51   |
52   = note: for more information, see https://github.com/rust-lang/rust/issues/64490
53   = help: add `#![feature(raw_ref_op)]` to the crate attributes to enable
54
55error: aborting due to 6 previous errors
56
57For more information about this error, try `rustc --explain E0658`.