Rustc-dev-guide: Collect a set of PRs that help understanding some parts of the compiler

Created on 17 Mar 2020  路  6Comments  路  Source: rust-lang/rustc-dev-guide

@rust-lang/wg-learning let's collect here PRs that may help readers understanding different parts of the compiler.

I've started this list, it's raw and there may be things that shouldn't be there but I guessed it would be better to share as is, rather than waiting longer. We can start polishing it, adding more PRs, removing some of them, adding more information next to each PR like explaining what part of the compiler each PR is going to help explaining, etc.

Most helpful comment

https://github.com/rust-lang/rust/pull/70705 may be a good fit. It adds a new trait that is automatically implemented by the compiler for all types.

All 6 comments

https://github.com/rust-lang/rust/pull/70645/files

This thread illustrates two things:

  • How to add a lint
  • How to open a PR on April 1

@mark-i-m when I saw it I thought to add it to the list, please go ahead and add it to the HackMD.

@spastorino One thing that would be helpful is if (when you have time) you could add for each link what you think is to be learned from that PR.

https://github.com/rust-lang/rust/pull/70705 may be a good fit. It adds a new trait that is automatically implemented by the compiler for all types.

@spastorino One thing that would be helpful is if (when you have time) you could add for each link what you think is to be learned from that PR.

Yes, will do at some point :).

There's a work in progress list of these at https://hackmd.io/xD2fQk_cT_ui6Nt40jHPwA?edit.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

nikomatsakis picture nikomatsakis  路  8Comments

davidtwco picture davidtwco  路  7Comments

mightyiam picture mightyiam  路  5Comments

mark-i-m picture mark-i-m  路  3Comments

crlf0710 picture crlf0710  路  3Comments