Closed
Description
The extended error explanations are filled with amazing examples, but they are not validated in any way.
Having these tested would be a great extension to the test suite and ensure that they do not become misleading as they bitrot.
Since many of these examples don't compile, we might need to improve rustdoc's testing of compile failures.