Closed
Description
If you use clippy and set deny
to a lint in an early phase, like checking docstring syntax, then rustc will bail when it is done finding the issues in this early pass. This can give the impression that the code is sound since 'oh it's only docstring issues, whatever' when actually there could be more serious issues lurking. Obviously you can stop the lint from flagging errors and denying instead, but rustc should also not bail until it hits the trans phase so it can report more errors.
An example of the confusion can be seen here: autumnai/leaf#106
I asked @Manishearth about this on IRC and he recommended I submit an issue to rustc.