I just accidentally used
error_chain instead of
error-chain in my
Config.toml. I was wondering if
error_chain should be reserved, so that if you try to use it, you get an error saying to use
error-chain instead. If someone used the name
error_chain and implemented different functionality, you may end up with unexpected errors and wasted time. Or, someone may upload a module that looks like
error-chain, but does something malicious.
So would it be advisable, for certain popular packages, to reserve aliases for those packages (I think the most common error is using the wrong one of
_), and print an error saying “this package name is reserved because it is very similar to <x>, did you mean to use that package?”?