Error index project repository location [solved]

I would like to add improvements to the documentation (Error index description). Please, provide me a link to the repository.

It is generated by error_index_generator based on diagnostics documentation within the compiler codebase, for example this one for librustc_resolve.

1 Like

Ok. Thank you! diagnostics.rs contains descriptions from E0128 and above .
Where descriptions from E0001 to E0128?

So. I try to search E0019 description by “Find in Files” functionality of Notepad++ into source code of Rust. I hope I helps me.

Ok. I have found what I need.

I think they’re all in diagnostics.rs according to which component of the compiler triggers them. For example E0019 is under librustc_mir.

1 Like

Yes. You are absolutely right. It is there.