rust/compiler
Matthias Krüger 6c627d25f6
Rollup merge of #93038 - GuillaumeGomez:block-doc-comments, r=notriddle
Fix star handling in block doc comments

Fixes #92872.

Some extra explanation about this PR and why https://github.com/rust-lang/rust/pull/92357 created this regression: when we merge doc comment kinds for example in:

```rust
/// he
/**
* hello
*/
#[doc = "boom"]
```

We don't want to remove the empty lines between them. However, to correctly compute the "horizontal trim", we still need it, so instead, I put back a part of the "vertical trim" directly in the "horizontal trim" computation so it doesn't impact the output buffer but allows us to correctly handle the stars.

r? `@camelid`
2022-01-20 17:10:41 +01:00
..
rustc
rustc_apfloat
rustc_arena
rustc_ast Rollup merge of #93038 - GuillaumeGomez:block-doc-comments, r=notriddle 2022-01-20 17:10:41 +01:00
rustc_ast_lowering Formally implement let chains 2022-01-18 19:38:17 -03:00
rustc_ast_passes Formally implement let chains 2022-01-18 19:38:17 -03:00
rustc_ast_pretty Rollup merge of #93065 - dtolnay:ringbuffer, r=lcnr 2022-01-19 19:19:51 +01:00
rustc_attr
rustc_borrowck Use Term in ProjectionPredicate 2022-01-17 17:44:56 +00:00
rustc_builtin_macros Auto merge of #92816 - tmiasko:rm-llvm-asm, r=Amanieu 2022-01-17 09:40:29 +00:00
rustc_codegen_cranelift remove is_noop 2022-01-19 13:58:29 +01:00
rustc_codegen_gcc Use Symbol for target features in asm handling 2022-01-17 18:06:27 +01:00
rustc_codegen_llvm Rollup merge of #92425 - calebzulawski:simd-cast, r=workingjubilee 2022-01-18 22:00:45 +01:00
rustc_codegen_ssa Rollup merge of #91606 - joshtriplett:stabilize-print-link-args, r=pnkfelix 2022-01-20 17:10:32 +01:00
rustc_const_eval Auto merge of #92816 - tmiasko:rm-llvm-asm, r=Amanieu 2022-01-17 09:40:29 +00:00
rustc_data_structures
rustc_driver Rollup merge of #91606 - joshtriplett:stabilize-print-link-args, r=pnkfelix 2022-01-20 17:10:32 +01:00
rustc_error_codes Rollup merge of #92752 - jamestiotio:error-codes-typos, r=nagisa 2022-01-17 20:07:04 +01:00
rustc_errors
rustc_expand Auto merge of #92473 - petrochenkov:ltrattr2, r=Aaron1011 2022-01-17 02:06:54 +00:00
rustc_feature Formally implement let chains 2022-01-18 19:38:17 -03:00
rustc_fs_util
rustc_graphviz
rustc_hir NiceRegionError: Use written return type for async fn 2022-01-19 21:33:57 +00:00
rustc_hir_pretty Use Term in ProjectionPredicate 2022-01-17 17:44:56 +00:00
rustc_incremental Rollup merge of #92825 - pierwill:rustc-version-force-rename, r=Mark-Simulacrum 2022-01-17 20:07:06 +01:00
rustc_index
rustc_infer Simplify error reporting code, remove await point wording 2022-01-19 21:33:57 +00:00
rustc_interface Rollup merge of #91606 - joshtriplett:stabilize-print-link-args, r=pnkfelix 2022-01-20 17:10:32 +01:00
rustc_lexer
rustc_lint Rollup merge of #92704 - 5225225:std_mem_transmute_ref_t_mut_t, r=michaelwoerister 2022-01-20 17:10:37 +01:00
rustc_lint_defs
rustc_llvm
rustc_log
rustc_macros
rustc_metadata Rollup merge of #90782 - ricobbe:binutils-dlltool, r=michaelwoerister 2022-01-18 22:00:42 +01:00
rustc_middle Rollup merge of #92582 - lcnr:generic-arg-infer, r=BoxyUwU 2022-01-20 17:10:35 +01:00
rustc_mir_build Formally implement let chains 2022-01-18 19:38:17 -03:00
rustc_mir_dataflow
rustc_mir_transform Rollup merge of #89764 - tmiasko:uninhabited-enums, r=wesleywiser 2022-01-20 17:10:31 +01:00
rustc_monomorphize
rustc_parse Rollup merge of #91150 - dtolnay:qpath, r=davidtwco 2022-01-18 22:00:43 +01:00
rustc_parse_format
rustc_passes Rollup merge of #92783 - FabianWolff:issue-92726, r=nikomatsakis 2022-01-19 10:42:16 +01:00
rustc_plugin_impl
rustc_privacy Rollup merge of #92582 - lcnr:generic-arg-infer, r=BoxyUwU 2022-01-20 17:10:35 +01:00
rustc_query_impl
rustc_query_system
rustc_resolve Replace NestedVisitorMap with NestedFilter 2022-01-16 16:02:36 -06:00
rustc_save_analysis Correctly handle starts in block doc comments 2022-01-19 11:18:17 +01:00
rustc_serialize
rustc_session Rollup merge of #91606 - joshtriplett:stabilize-print-link-args, r=pnkfelix 2022-01-20 17:10:32 +01:00
rustc_span Rollup merge of #92425 - calebzulawski:simd-cast, r=workingjubilee 2022-01-18 22:00:45 +01:00
rustc_symbol_mangling Rollup merge of #92316 - petrochenkov:extmangle, r=wesleywiser 2022-01-19 19:19:45 +01:00
rustc_target Pass target_features set instead of has_feature closure 2022-01-17 18:06:30 +01:00
rustc_trait_selection remove is_noop 2022-01-19 13:58:29 +01:00
rustc_traits Auto merge of #87648 - JulianKnodt:const_eq_constrain, r=oli-obk 2022-01-18 09:58:39 +00:00
rustc_ty_utils
rustc_type_ir
rustc_typeck Rollup merge of #92582 - lcnr:generic-arg-infer, r=BoxyUwU 2022-01-20 17:10:35 +01:00