summary refs log tree commit diff
path: root/src/test/ui/raw-ref-op/raw-ref-temp-deref.stderr
blob: b0bfc74903b0ce68f97c35a5ab79121a96b41285 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
error: raw borrows are not yet implemented
  --> $DIR/raw-ref-temp-deref.rs:13:21
   |
LL |     let deref_ref = &raw const *PAIR_REF;
   |                     ^^^^^^^^^^^^^^^^^^^^
   |
   = note: for more information, see https://github.com/rust-lang/rust/issues/64490

error: raw borrows are not yet implemented
  --> $DIR/raw-ref-temp-deref.rs:14:27
   |
LL |     let field_deref_ref = &raw const PAIR_REF.0;
   |                           ^^^^^^^^^^^^^^^^^^^^^
   |
   = note: for more information, see https://github.com/rust-lang/rust/issues/64490

error: raw borrows are not yet implemented
  --> $DIR/raw-ref-temp-deref.rs:15:21
   |
LL |     let deref_ref = &raw const *ARRAY_REF;
   |                     ^^^^^^^^^^^^^^^^^^^^^
   |
   = note: for more information, see https://github.com/rust-lang/rust/issues/64490

error: raw borrows are not yet implemented
  --> $DIR/raw-ref-temp-deref.rs:16:27
   |
LL |     let index_deref_ref = &raw const ARRAY_REF[0];
   |                           ^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: for more information, see https://github.com/rust-lang/rust/issues/64490

error: raw borrows are not yet implemented
  --> $DIR/raw-ref-temp-deref.rs:17:21
   |
LL |     let deref_ref = &raw const *SLICE_REF;
   |                     ^^^^^^^^^^^^^^^^^^^^^
   |
   = note: for more information, see https://github.com/rust-lang/rust/issues/64490

error: raw borrows are not yet implemented
  --> $DIR/raw-ref-temp-deref.rs:18:27
   |
LL |     let index_deref_ref = &raw const SLICE_REF[1];
   |                           ^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: for more information, see https://github.com/rust-lang/rust/issues/64490

error: raw borrows are not yet implemented
  --> $DIR/raw-ref-temp-deref.rs:21:23
   |
LL |     let ascribe_ref = &raw const (x: i32);
   |                       ^^^^^^^^^^^^^^^^^^^
   |
   = note: for more information, see https://github.com/rust-lang/rust/issues/64490

error: raw borrows are not yet implemented
  --> $DIR/raw-ref-temp-deref.rs:22:25
   |
LL |     let ascribe_deref = &raw const (*ARRAY_REF: [i32; 2]);
   |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: for more information, see https://github.com/rust-lang/rust/issues/64490

error: raw borrows are not yet implemented
  --> $DIR/raw-ref-temp-deref.rs:23:31
   |
LL |     let ascribe_index_deref = &raw const (ARRAY_REF[0]: i32);
   |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: for more information, see https://github.com/rust-lang/rust/issues/64490

error: aborting due to 9 previous errors