Closed
Description
Many of rustc errors contain a hint on how to fix them, but not this one. For example:
9 | s.drop();
| ^^^^ explicit destructor calls not allowed
I suppose the error message can be more friendly by suggesting to use drop(s)
instead of s.drop()
.
Activity
stanislav-tkach commentedon May 19, 2020
I would like to try to address this issue.
Rollup merge of rust-lang#72383 - DarkEld3r:issue-72322, r=matthewjasper
Rollup merge of rust-lang#72383 - DarkEld3r:issue-72322, r=matthewjasper