rust/src
Guillaume Gomez 6f2722b2fa Rollup merge of #121783 - nnethercote:emitter-cleanups, r=oli-obk
Emitter cleanups

Some cleanups I made when reading emitter code. In particular, `HumanEmitter` and `JsonEmitter` have gone from three constructors to one.

r? `@oli-obk`
2024-02-29 17:08:38 +01:00
..
attr Merge commit '81fe905ca83cffe84322f27ca43950b617861ff7' into rustfmt-sync 2023-10-22 20:21:44 -05:00
bin Merge commit '81fe905ca83cffe84322f27ca43950b617861ff7' into rustfmt-sync 2023-10-22 20:21:44 -05:00
cargo-fmt Merge commit '81fe905ca83cffe84322f27ca43950b617861ff7' into rustfmt-sync 2023-10-22 20:21:44 -05:00
config remove redundant imports 2023-12-10 10:56:22 +08:00
emitter remove redundant imports 2023-12-10 10:56:22 +08:00
format-diff Merge commit '81fe905ca83cffe84322f27ca43950b617861ff7' into rustfmt-sync 2023-10-22 20:21:44 -05:00
formatting
git-rustfmt Merge commit '81fe905ca83cffe84322f27ca43950b617861ff7' into rustfmt-sync 2023-10-22 20:21:44 -05:00
modules Rename ast::Lit as ast::MetaItemLit. 2022-11-28 15:18:49 +11:00
parse Rollup merge of #121783 - nnethercote:emitter-cleanups, r=oli-obk 2024-02-29 17:08:38 +01:00
test Move emit_stashed_diagnostic call in rustfmt. 2024-02-26 10:45:45 +11:00
attr.rs Merge commit '81fe905ca83cffe84322f27ca43950b617861ff7' into rustfmt-sync 2023-10-22 20:21:44 -05:00
chains.rs Merge commit '81fe905ca83cffe84322f27ca43950b617861ff7' into rustfmt-sync 2023-10-22 20:21:44 -05:00
closures.rs Plumb awaitness of for loops 2023-12-19 12:26:20 -08:00
comment.rs remove redundant imports 2023-12-10 10:56:22 +08:00
coverage.rs
emitter.rs Merge commit '81fe905ca83cffe84322f27ca43950b617861ff7' into rustfmt-sync 2023-10-22 20:21:44 -05:00
expr.rs Add ErrorGuaranteed to ast::ExprKind::Err 2024-02-25 22:24:31 +01:00
format_report_formatter.rs
formatting.rs Reinstate emit_stashed_diagnostics in DiagCtxtInner::drop. 2024-02-29 11:08:29 +11:00
ignore_path.rs remove redundant imports 2023-12-10 10:56:22 +08:00
imports.rs remove redundant imports 2023-12-10 10:56:22 +08:00
items.rs Delegation implementation: step 1 2024-01-12 14:11:16 +03:00
lib.rs Merge commit '81fe905ca83cffe84322f27ca43950b617861ff7' into rustfmt-sync 2023-10-22 20:21:44 -05:00
lists.rs Merge commit '81fe905ca83cffe84322f27ca43950b617861ff7' into rustfmt-sync 2023-10-22 20:21:44 -05:00
macros.rs Add spacing information to delimiters. 2023-12-11 09:36:40 +11:00
matches.rs Plumb awaitness of for loops 2023-12-19 12:26:20 -08:00
missed_spans.rs
modules.rs Use ThinVec in a few more AST types. 2023-02-21 11:51:56 +11:00
overflow.rs Plumb awaitness of for loops 2023-12-19 12:26:20 -08:00
pairs.rs Rework ast::BinOpKind::to_string and ast::UnOp::to_string. 2023-11-28 09:42:07 +11:00
patterns.rs Add PatKind::Err 2024-01-17 03:14:16 +01:00
release_channel.rs
reorder.rs remove redundant imports 2023-12-10 10:56:22 +08:00
rewrite.rs
rustfmt_diff.rs Merge commit '81fe905ca83cffe84322f27ca43950b617861ff7' into rustfmt-sync 2023-10-22 20:21:44 -05:00
shape.rs
skip.rs Merge commit '81fe905ca83cffe84322f27ca43950b617861ff7' into rustfmt-sync 2023-10-22 20:21:44 -05:00
source_file.rs Allow newly added non_local_definitions in rustfmt 2024-02-17 13:59:46 +01:00
source_map.rs
spanned.rs Parse a pattern with no arm 2023-12-03 12:25:46 +01:00
stmt.rs Merge commit '81fe905ca83cffe84322f27ca43950b617861ff7' into rustfmt-sync 2023-10-22 20:21:44 -05:00
string.rs Merge commit '81fe905ca83cffe84322f27ca43950b617861ff7' into rustfmt-sync 2023-10-22 20:21:44 -05:00
syntux.rs
types.rs Add an ErrorGuaranteed to ast::TyKind::Err. 2024-02-15 09:35:11 +11:00
utils.rs Add ErrorGuaranteed to ast::ExprKind::Err 2024-02-25 22:24:31 +01:00
vertical.rs
visitor.rs Delegation implementation: step 1 2024-01-12 14:11:16 +03:00