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