2017-02-07 20:05:30 +00:00
|
|
|
error: usage of mem::forget on Drop type
|
2017-05-17 15:51:35 +00:00
|
|
|
--> mem_forget.rs:18:5
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
2017-02-26 03:55:43 +00:00
|
|
|
18 | memstuff::forget(six);
|
2017-02-07 20:05:30 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
2017-05-17 12:19:44 +00:00
|
|
|
= note: `-D mem-forget` implied by `-D warnings`
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
|
|
error: usage of mem::forget on Drop type
|
2017-05-17 15:51:35 +00:00
|
|
|
--> mem_forget.rs:21:5
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
2017-05-11 13:30:44 +00:00
|
|
|
21 | std::mem::forget(seven);
|
2017-02-07 20:05:30 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: usage of mem::forget on Drop type
|
2017-05-17 15:51:35 +00:00
|
|
|
--> mem_forget.rs:24:5
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
2017-05-11 13:30:44 +00:00
|
|
|
24 | forgetSomething(eight);
|
2017-02-07 20:05:30 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
2017-07-03 04:37:30 +00:00
|
|
|
error: aborting due to 3 previous errors
|
2017-02-07 20:05:30 +00:00
|
|
|
|
2017-05-17 12:19:44 +00:00
|
|
|
|
|
|
|
To learn more, run the command again with --verbose.
|