rust/compiler
Nicholas Nethercote 75b6ec9800 Avoid comments that describe multiple use items.
There are some comments describing multiple subsequent `use` items. When
the big `use` reformatting happens some of these `use` items will be
reordered, possibly moving them away from the comment. With this
additional level of formatting it's not really feasible to have comments
of this type. This commit removes them in various ways:

- merging separate `use` items when appropriate;

- inserting blank lines between the comment and the first `use` item;

- outright deletion (for comments that are relatively low-value);

- adding a separate "top-level" comment.

We also entirely skip formatting for four library files that contain
nothing but `pub use` re-exports, where reordering would be painful.
2024-07-17 08:02:46 +10:00
..
rustc Change SIGPIPE ui from #[unix_sigpipe = "..."] to -Zon-broken-pipe=... 2024-05-02 19:48:29 +02:00
rustc_abi Rollup merge of #123043 - GoldsteinE:fix/repr-c-dead-branches, r=oli-obk 2024-07-04 18:16:22 +02:00
rustc_arena Use tidy to sort crate attributes for all compiler crates. 2024-06-12 15:49:10 +10:00
rustc_ast Rollup merge of #127558 - nnethercote:more-Attribute-cleanups, r=petrochenkov 2024-07-13 20:19:46 -07:00
rustc_ast_ir Use tidy to sort crate attributes for all compiler crates. 2024-06-12 15:49:10 +10:00
rustc_ast_lowering Auto merge of #127200 - fee1-dead-contrib:trait_def_const_trait, r=compiler-errors 2024-07-09 06:51:35 +00:00
rustc_ast_passes Report usage of lib features in ast validation 2024-07-10 16:53:41 -04:00
rustc_ast_pretty Rollup merge of #127092 - compiler-errors:rtn-dots-redux, r=estebank 2024-07-03 23:30:07 +02:00
rustc_attr Use a dedicated type instead of a reference for the diagnostic context 2024-06-18 15:42:11 +00:00
rustc_baked_icu_data Use tidy to sort crate attributes for all compiler crates. 2024-06-12 15:49:10 +10:00
rustc_borrowck Rollup merge of #127625 - SkiFire13:revert-comment-deletion, r=workingjubilee 2024-07-12 03:43:36 +02:00
rustc_builtin_macros Rollup merge of #127308 - nnethercote:Attribute-cleanups, r=petrochenkov 2024-07-07 14:22:01 +02:00
rustc_codegen_cranelift Merge commit '659243d85c7489412bd0faa1c068d904a6042941' into sync_cg_clif-2024-07-13 2024-07-13 18:39:03 +00:00
rustc_codegen_gcc Remove lang feature for type ascription 2024-07-11 20:40:38 -04:00
rustc_codegen_llvm Rollup merge of #127654 - nikic:llvm-ndebug-fix, r=cuviper 2024-07-13 00:24:35 -04:00
rustc_codegen_ssa Rollup merge of #127434 - onur-ozkan:use-bootstrap-instead-of-rustbuild, r=Mark-Simulacrum 2024-07-13 20:19:45 -07:00
rustc_const_eval Avoid comments that describe multiple use items. 2024-07-17 08:02:46 +10:00
rustc_data_structures Use uplifted rustc-stable-hash crate in rustc_data_structures 2024-07-11 16:51:16 +02:00
rustc_driver Use tidy to sort crate attributes for all compiler crates. 2024-06-12 15:49:10 +10:00
rustc_driver_impl Move codegen_and_build_linker from Queries to Linker 2024-07-01 11:00:49 +00:00
rustc_error_codes Correct description of E0502 2024-07-06 09:13:14 +03:00
rustc_error_messages Use tidy to sort crate attributes for all compiler crates. 2024-06-12 15:49:10 +10:00
rustc_errors Rollup merge of #120248 - WaffleLapkin:bonk-ptr-object-casts, r=compiler-errors,oli-obk,lnicola 2024-07-08 16:28:15 +02:00
rustc_expand Rollup merge of #127558 - nnethercote:more-Attribute-cleanups, r=petrochenkov 2024-07-13 20:19:46 -07:00
rustc_feature Rollup merge of #127630 - compiler-errors:type-ascription, r=chenyukang 2024-07-14 20:24:59 +02:00
rustc_fluent_macro Use tidy to sort crate attributes for all compiler crates. 2024-06-12 15:49:10 +10:00
rustc_fs_util Remove useless tidy-alphabetical markers. 2024-06-20 09:23:20 +10:00
rustc_graphviz Use tidy to sort crate attributes for all compiler crates. 2024-06-12 15:49:10 +10:00
rustc_hir Add rustdoc support for use<> in (local) RPITs 2024-07-12 05:24:51 -04:00
rustc_hir_analysis Auto merge of #127575 - chenyukang:yukang-fix-struct-fields-ice, r=compiler-errors 2024-07-11 03:12:38 +00:00
rustc_hir_pretty implement new effects desugaring 2024-06-28 10:57:35 +00:00
rustc_hir_typeck Rollup merge of #127596 - tesuji:help-unwrap-or, r=compiler-errors 2024-07-12 03:43:35 +02:00
rustc_incremental Use tidy to sort crate attributes for all compiler crates. 2024-06-12 15:49:10 +10:00
rustc_index Auto merge of #127170 - bjorn3:no_specialize_index_borrowck, r=michaelwoerister 2024-07-04 14:24:43 +00:00
rustc_index_macros Remove usage of specialization from newtype_index! 2024-06-30 16:42:53 +00:00
rustc_infer Rollup merge of #127619 - compiler-errors:precise-capturing-better-sugg, r=oli-obk 2024-07-12 13:47:09 -07:00
rustc_interface Rollup merge of #126502 - cuviper:dump-mir-exclude-alloc-bytes, r=estebank 2024-07-12 13:47:05 -07:00
rustc_lexer Use tidy to sort crate attributes for all compiler crates. 2024-06-12 15:49:10 +10:00
rustc_lint Avoid comments that describe multiple use items. 2024-07-17 08:02:46 +10:00
rustc_lint_defs Auto merge of #127097 - compiler-errors:async-closure-lint, r=oli-obk 2024-07-11 06:59:10 +00:00
rustc_llvm Remove LLVMRustDIBuilderInsertDeclareAtEnd return value 2024-07-12 22:15:10 +02:00
rustc_log Bump tracing-tree and allow rendering lines again 2024-06-12 10:11:41 +00:00
rustc_macros Make sure that labels are defined after the primary span in diagnostics 2024-07-10 18:55:45 -04:00
rustc_metadata report pat no field error no recoverd struct variant 2024-07-11 00:18:47 +08:00
rustc_middle Auto merge of #127670 - compiler-errors:no-type-length-limit, r=jackh726 2024-07-14 12:44:07 +00:00
rustc_mir_build Address review comments 2024-07-09 22:47:35 +02:00
rustc_mir_dataflow Propagate places through assignments. 2024-07-13 12:02:10 +00:00
rustc_mir_transform Create mapped places upon seeing them in the body. 2024-07-13 11:54:25 +00:00
rustc_monomorphize Auto merge of #113128 - WaffleLapkin:become_trully_unuwuable, r=oli-obk,RalfJung 2024-07-08 04:35:04 +00:00
rustc_next_trait_solver enable fuzzing of SearchGraph 2024-07-12 06:30:19 -04:00
rustc_parse Rollup merge of #127273 - nnethercote:fix-DebugParser, r=workingjubilee 2024-07-14 20:24:58 +02:00
rustc_parse_format Use tidy to sort crate attributes for all compiler crates. 2024-06-12 15:49:10 +10:00
rustc_passes Report usage of lib features in ast validation 2024-07-10 16:53:41 -04:00
rustc_pattern_analysis Avoid comments that describe multiple use items. 2024-07-17 08:02:46 +10:00
rustc_privacy Do not ICE in privacy when type inference fails. 2024-06-17 10:09:27 +00:00
rustc_query_impl Allow tracing through item_bounds query invocations on opaques 2024-06-19 08:47:55 +00:00
rustc_query_system enable fuzzing of SearchGraph 2024-07-12 06:30:19 -04:00
rustc_resolve Rollup merge of #127310 - chenyukang:yukang-fix-suggest-import-ice, r=estebank 2024-07-12 13:47:07 -07:00
rustc_sanitizers Split out IntoIterator and non-Iterator constructors for AliasTy/AliasTerm/TraitRef/projection 2024-06-24 11:28:21 -04:00
rustc_serialize chore: remove duplicate words 2024-07-02 11:25:31 +08:00
rustc_session Auto merge of #127670 - compiler-errors:no-type-length-limit, r=jackh726 2024-07-14 12:44:07 +00:00
rustc_smir Avoid comments that describe multiple use items. 2024-07-17 08:02:46 +10:00
rustc_span Added the xop target feature and xop_target_feature gate 2024-07-12 23:30:22 +05:30
rustc_symbol_mangling Fix FnMut/Fn shim for coroutine-closures that capture references 2024-06-29 17:38:02 -04:00
rustc_target Added the xop target feature and xop_target_feature gate 2024-07-12 23:30:22 +05:30
rustc_trait_selection Rollup merge of #127631 - compiler-errors:yeet-fully-norm, r=lcnr 2024-07-12 13:47:09 -07:00
rustc_traits Split out overflow handling into its own module 2024-07-09 09:51:56 -04:00
rustc_transmute safe transmute: support non-ZST, variantful, uninhabited enums 2024-06-14 21:11:08 +00:00
rustc_ty_utils Auto merge of #123351 - beetrees:x86-ret-snan-rust, r=nikic,workingjubilee 2024-07-12 20:36:43 +00:00
rustc_type_ir Rollup merge of #127627 - lcnr:rustc_search_graph, r=compiler-errors 2024-07-12 14:38:00 +02:00
rustc_type_ir_macros Uplift TraitPredicate 2024-05-11 18:20:00 -04:00
stable_mir Remove extern "wasm" ABI 2024-07-11 12:20:26 +02:00