about summary refs log tree commit diff
path: root/compiler/rustc_builtin_macros/src/format.rs
AgeCommit message (Expand)AuthorLines
2024-10-14Special treatment empty tuple when suggest adding a string literal in format ...surechen-4/+18
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-1/+2
2024-08-11Rollup merge of #128762 - fmease:use-more-slice-pats, r=compiler-errorsMatthias Krüger-4/+4
2024-08-07Make `Span` optional in `BufferedEarlyLint`Urgau-1/+1
2024-08-07Use more slice patterns inside the compilerLeón Orell Valerian Liehr-4/+4
2024-07-29Reformat `use` declarations.Nicholas Nethercote-5/+5
2024-05-21Generate lint diagnostic message from BuiltinLintDiagXiretza-1/+0
2024-05-09Rollup merge of #124919 - nnethercote:Recovered-Yes-ErrorGuaranteed, r=compil...Matthias Krüger-3/+2
2024-05-09Add `ErrorGuaranteed` to `Recovered::Yes` and use it more.Nicholas Nethercote-3/+2
2024-05-09Auto merge of #124157 - wutchzone:partial_eq, r=estebankbors-3/+3
2024-05-03Use `parse` renaming of `rustc_parse_format`.Nicholas Nethercote-2/+2
2024-04-26Adjust some `pub`s.Nicholas Nethercote-2/+2
2024-04-26Move some functions from `rustc_expand` to `rustc_builtin_macros`.Nicholas Nethercote-5/+4
2024-04-23Fix typosDaniel Sedlak-3/+3
2024-03-28compiler: fix few needless_pass_by_ref_mut clippy lintsklensy-4/+4
2024-03-13delay expand macro bang when there has indeterminate pathbohan-53/+68
2024-03-05Rename `BuiltinLintDiagnostics` as `BuiltinLintDiag`.Nicholas Nethercote-2/+2
2024-02-28Rename `DiagnosticBuilder` as `Diag`.Nicholas Nethercote-2/+2
2024-02-25Add `ErrorGuaranteed` to `ast::ExprKind::Err`Lieselotte-45/+45
2024-02-20Add newtype for parser recoveryclubby789-3/+3
2024-01-25Remove has_errors check in builtin macro parsingOli Scherer-4/+8
2024-01-22Tweak error counting.Nicholas Nethercote-1/+1
2024-01-08Make `DiagnosticBuilder::emit` consuming.Nicholas Nethercote-4/+3
2023-12-24Remove more `Session` methods that duplicate `DiagCtxt` methods.Nicholas Nethercote-1/+1
2023-12-24Remove `ExtCtxt` methods that duplicate `DiagCtxt` methods.Nicholas Nethercote-11/+11
2023-12-23Remove `LabelKind`.Nicholas Nethercote-1/+0
2023-12-23Give `DiagnosticBuilder` a default type.Nicholas Nethercote-4/+2
2023-11-28unwrap return Option value, as it always returns Some for some fnsklensy-16/+8
2023-11-21Fix `clippy::needless_borrow` in the compilerNilstrieb-3/+2
2023-11-15Re-format code with new rustfmtMark Rousskov-3/+10
2023-10-23Auto merge of #115324 - francorbacho:master, r=davidtwcobors-4/+110
2023-10-13Format all the let chains in compilerMichael Goulet-5/+12
2023-10-05Only give autofix suggestion when no named args are presentfrancorbacho-1/+7
2023-10-05Highlight redundant arguments instead of the whole format stringfrancorbacho-4/+3
2023-10-05Fix diagnostics being cancelled even with unused argumentsfrancorbacho-11/+17
2023-10-05Remove unused variablefrancorbacho-5/+4
2023-10-05Document report_redundant_format_arguments()francorbacho-0/+2
2023-10-05Rename report_redundant_placeholders() to report_redundant_format_arguments()francorbacho-2/+2
2023-10-05Use diagnostic impls and add suggestions in redundant format!() argsfrancorbacho-25/+33
2023-10-05Separate report_redundant_placeholders() into its own functionfrancorbacho-52/+62
2023-10-05Suggest removing redundant arguments in format!()francorbacho-4/+80
2023-09-06add diagnostic for raw identifiers in format stringLukas Markeffsky-14/+23
2023-08-05Add suggestion to quote inlined format argument as string literalSebastian Toh-12/+28
2023-07-30inline format!() args up to and including rustc_middleMatthias Krüger-4/+4
2023-06-07Remove accidental commentclubby789-3/+0
2023-05-16Avoid `&format("...")` calls in error message code.Nicholas Nethercote-1/+1
2023-05-03Restrict `From<S>` for `{D,Subd}iagnosticMessage`.Nicholas Nethercote-4/+4
2023-04-16fix clippy::toplevel_ref_arg and ::manual_mapMatthias Krüger-7/+1
2023-04-12Rollup merge of #110153 - DaniPopes:compiler-typos, r=NilstriebMatthias Krüger-1/+1
2023-04-10Migrate most of `rustc_builtin_macros` to diagnostic implsclubby789-97/+78