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()
.