rust/compiler/rustc_session
Dylan DPC e11511dfa6
Rollup merge of #103051 - davidtwco:translation-tidying-up, r=compiler-errors
translation: doc comments with derives, subdiagnostic-less enum variants, more derive use

- Adds support for `doc` attributes in the diagnostic derives so that documentation comments don't result in the derive failing.
- Adds support for enum variants in the subdiagnostic derive to not actually correspond to an addition to a diagnostic.
- Made use of the derive in more places in the `rustc_ast_lowering`, `rustc_ast_passes`, `rustc_lint`, `rustc_session`, `rustc_infer` - taking advantage of recent additions like eager subdiagnostics, multispan suggestions, etc.

cc #100717
2022-10-21 17:29:58 +05:30
..
src Rollup merge of #103051 - davidtwco:translation-tidying-up, r=compiler-errors 2022-10-21 17:29:58 +05:30
Cargo.toml Revert "Revert "Remove num_cpus dependency from bootstrap, build-manifest and rustc_session"" 2022-08-15 16:24:07 +02:00