rust/compiler/rustc_pattern_analysis/src
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
..
constructor.rs Replace f16 and f128 pattern matching stubs with real implementations 2024-06-23 04:28:42 -05:00
errors.rs Pass translation closure to add_to_diag_with() as reference 2024-04-21 07:45:03 +00:00
lib.rs Avoid comments that describe multiple use items. 2024-07-17 08:02:46 +10:00
lints.rs Remove LintDiagnostic::msg 2024-05-23 04:08:35 +02:00
pat_column.rs Rename TypeCx -> PatCx 2024-03-13 13:56:38 +01:00
pat.rs Add blank lines after module-level //! comments. 2024-06-20 09:23:20 +10:00
rustc.rs Replace f16 and f128 pattern matching stubs with real implementations 2024-06-23 04:28:42 -05:00
usefulness.rs Stabilize exclusive_range 2024-05-02 19:42:31 -04:00