rust/compiler/rustc_ast_lowering/src
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
..
asm.rs Stabilize asm_sym 2022-10-17 22:38:37 +01:00
block.rs Rollup merge of #93628 - est31:stabilize_let_else, r=joshtriplett 2022-09-17 15:31:06 +05:30
errors.rs ast_lowering: use derive more 2022-10-17 09:54:24 +01:00
expr.rs Lower condition directly from AST to HIR 2022-10-13 18:20:39 -07:00
index.rs separate definitions and HIR owners 2022-09-24 23:21:19 +09:00
item.rs Auto merge of #99292 - Aaron1011:stability-use-tree, r=cjgillot 2022-10-15 04:27:15 +00:00
lib.rs Do anonymous lifetimes remapping correctly for nested rpits 2022-10-19 16:49:39 -03:00
lifetime_collector.rs Remove path_span argument to the visit_path_segment methods. 2022-09-12 13:24:25 +10:00
pat.rs rustc_hir: Less error-prone methods for accessing PartialRes resolution 2022-10-11 09:04:52 +04:00
path.rs rustc_hir: Less error-prone methods for accessing PartialRes resolution 2022-10-11 09:04:52 +04:00