In the comments on #32777, @jhod0 [writes](https://github.com/rust-lang/rust/issues/32777#issuecomment-234660618): > I looked into it more, and it looks like the following libraries' long error messages are not properly registered: > - libsyntax > - librustc_passes > - librustc_plugin > - However, the register_long_diagnostics! declaration in librustc_plugin is empty > - librustc_mir > - librustc_lint > - librustc_metadata > > i.e. running the following for any `errno` in the above libraries will fail: > > ``` > $ rustc --explain <errno> > error: no extended information for <errno> > ```