This resolves one of the error list in #35347 - just because I stumbled over it today.
I assumed the error code should be removed from
Since that is my first code contribution, please check that all is in order. It would be helpful to know how to run the test for the
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @GuillaumeGomez (or someone else) soon.
If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes.
Please see the contribution instructions for more information.
Thanks for your PR! Just some minor typos and it's all good! Once done, don't forget to squash please (you can take a look here if you don't know how to do do it).
In order to test error code examples, you have to run:
Otherwise don't worry, they are tested by travis and the bot before merge. :)
…0532, r=GuillaumeGomez Add E0532 error explanation This resolves one of the error list in rust-lang#35347 - just because I stumbled over it today. I assumed the error code should be removed from `register_diagnostics!` because it's now defined above. Since that is my first code contribution, please check that all is in order. It would be helpful to know how to run the test for the `compile_fail,E0532` part. I did `make check-stage1-cfail NO_REBUILD=1` but that doesn't test the inlined example. r? @GuillaumeGomez