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

10 lines
304 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-03-03 14:59:40 +00:00
For more information about this error, try `rustc --explain E0133`.