fork/rust

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

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

master
968 B27 linesraw
1error[E0699]: cannot call a method on a raw pointer with an unknown pointee type
2  --> $DIR/call_method_unknown_pointee.rs:10:41
3   |
4LL |         let _a: i32 = (ptr as *const _).read();
5   |                                         ^^^^
6
7error[E0699]: cannot call a method on a raw pointer with an unknown pointee type
8  --> $DIR/call_method_unknown_pointee.rs:13:24
9   |
10LL |         let _b: u8 = b.read();
11   |                        ^^^^
12
13error[E0699]: cannot call a method on a raw pointer with an unknown pointee type
14  --> $DIR/call_method_unknown_pointee.rs:21:39
15   |
16LL |         let _a: i32 = (ptr as *mut _).read();
17   |                                       ^^^^
18
19error[E0699]: cannot call a method on a raw pointer with an unknown pointee type
20  --> $DIR/call_method_unknown_pointee.rs:24:11
21   |
22LL |         b.write(10);
23   |           ^^^^^
24
25error: aborting due to 4 previous errors
26
27For more information about this error, try `rustc --explain E0699`.