rustc-dev-guide
rustc-dev-guide copied to clipboard
A guide to how rustc works and how to contribute to it.
I don't know when exactly this was changed since I effectively took a break from hacking on rustdoc for a few months until last month. I faintly remember a smaller...
cc @rust-lang/types
See rust-lang/compiler-team#723. Blocked on rust-lang/rust#120926.
This patch also adds docs for `//@ llvm-cov-flags:`, and notes that coverage tests support revisions (though none of the current tests actually do so).
The example on is given as ```rs #[derive(Diagnostic)] #[diag(hir_analysis_field_already_declared, code = E0124)] pub struct FieldAlreadyDeclared { pub field_name: Ident, #[primary_span] #[label] pub span: Span, #[label(previous_decl_label)] pub prev_span: Span, } ```...
Sentences such as «without the argument u32» were ambiguous, as there were two distincts u32. Having a single one, the one in the monomorphization of the type, remove the ambiguity.
This makes it less opinionated. cc @Nadrieril @fee1-dead i know you're using nixos
Regarding https://rustc-dev-guide.rust-lang.org/hir.html It references the find method, which was renamed in 24f009c5e55d18c12563dd74681ca33b8a349936 into `opt_hir_node` which itself was deleted in a61019b29021b7635113b48e470dbac724c81c76 As far as I understand the commits I see, the...
No new lectures have been added in the last 5 years. Surely some great ones have been created?
Added some details on adding syntax feature gates. Also I am still having the issue from the last time I contributed here https://github.com/rust-lang/rustc-dev-guide/issues/1545#issuecomment-1424873804. On an entirely different computer as well....