Many of rustc errors contain a hint on how to fix them, but not this one. For [example](https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=69b7a7db956303e0e722c38d2241b642): ``` 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()`.
Many of rustc errors contain a hint on how to fix them, but not this one. For example:
I suppose the error message can be more friendly by suggesting to use
drop(s)instead ofs.drop().