rust/src/test/ui/trait-safety-fn-body.stderr

10 lines
314 B
Plaintext
Raw Normal View History

error[E0133]: dereference of raw pointer requires unsafe function or block
--> $DIR/trait-safety-fn-body.rs:21:9
|
2018-02-23 00:42:32 +00:00
LL | *self += 1;
| ^^^^^^^^^^ dereference of raw pointer
error: aborting due to previous error
2018-02-19 20:40:25 +00:00
If you want more information on this error, try using "rustc --explain E0133"