about summary refs log tree commit diff
path: root/compiler/rustc_errors/src/diagnostic.rs
AgeCommit message (Expand)AuthorLines
2022-10-10errors: `DiagnosticMessage::Eager`David Wood-1/+18
2022-10-10errors: `AddToDiagnostic::add_to_diagnostic_with`David Wood-4/+15
2022-10-10errors: use `HashMap` to store diagnostic argsDavid Wood-6/+13
2022-10-01Compute `lint_levels` by definitionDeadbeef-2/+3
2022-10-01Refactor rustc lint APIMaybe Waffle-2/+7
2022-09-27Implement IntoDiagnosticArg for rustc_ast::token::Token(Kind)Xiretza-0/+12
2022-09-27Implement IntoDiagnosticArg for rustc_ast::PathXiretza-0/+8
2022-09-22Revert "Auto merge of #101620 - cjgillot:compute_lint_levels_by_def, r=oli-obk"Camille GILLOT-3/+2
2022-09-21FIX - adopt new Diagnostic naming in newly migrated modulesJhonny Bill Mena-1/+1
2022-09-21UPDATE - rename SessionSubdiagnostic macro to SubdiagnosticJhonny Bill Mena-4/+5
2022-09-21UPDATE - rename AddSubdiagnostic trait to AddToDiagnosticJhonny Bill Mena-2/+2
2022-09-21UPDATE - rename DiagnosticHandler trait to IntoDiagnosticJhonny Bill Mena-1/+1
2022-09-14Compute `lint_levels` by definitionDeadbeef-2/+3
2022-09-08translations(rustc_session): migrates two diagnostics in session.rsLuis Cardoso-1/+4
2022-09-08translations(rustc_session): migrate TargetDataLayout::parseLuis Cardoso-0/+2
2022-09-03Rollup merge of #100928 - CleanCut:rustc_metadata_diagnostics, r=davidtwcoDylan DPC-0/+7
2022-08-31Rollup merge of #101165 - ldm0:drain_to_iter, r=cjgillotMatthias Krüger-2/+2
2022-08-31respond to review feedback: mainly eliminate as many conversions as possible...Nathan Stocks-0/+7
2022-08-30Code deduplication in tool_only_multipart_suggestionXiretza-12/+5
2022-08-30Use more `into_iter` rather than `drain(..)`Donough Liu-2/+2
2022-08-24errors: `IntoDiagnosticArg` for `io::Error`/pathsDavid Wood-0/+14
2022-08-17Moved structs to rustc_expand::errors, added several more migrations, fixed s...nidnogg-1/+2
2022-08-05move DiagnosticArgFromDisplay into rustc_errorsMichael Goulet-0/+20
2022-07-20Auto merge of #99058 - michaelwoerister:remove-stable-set-and-map, r=nagisabors-1/+1
2022-07-20Remove unused StableMap and StableSet types from rustc_data_structuresMichael Woerister-1/+1
2022-07-20avoid `&str` to String conversionsTakayuki Maeda-8/+7
2022-07-16Rollup merge of #99342 - TaKO8Ki:avoid-symbol-to-string-conversions, r=compil...Matthias Krüger-1/+1
2022-07-17avoid some `Symbol` to `String` conversionsTakayuki Maeda-1/+1
2022-07-15passes: migrate half of `check_attr`David Wood-0/+1
2022-07-15errors: impl `IntoDiagnosticArg` for `char`David Wood-77/+33
2022-07-08Fix duplicated type annotation suggestionDaniel Xu-0/+8
2022-07-08Implement IntoDiagnosticArg for hir::ConstContextMichael Goulet-0/+11
2022-07-05errors: introduce `DecorateLint`David Wood-2/+10
2022-07-05Rollup merge of #98624 - davidtwco:translation-on-lints, r=compiler-errorsDylan DPC-1/+83
2022-07-01update cfg(bootstrap)sPietro Albini-7/+7
2022-06-30lint: port incomplete features diagnosticsDavid Wood-0/+6
2022-06-30lint: port keyword idents diagnosticsDavid Wood-1/+7
2022-06-30lint: port variant size difference diagnosticsDavid Wood-0/+48
2022-06-30lint: port overflowing literals diagnosticsDavid Wood-0/+12
2022-06-30lint: port non-fmt-panic diagnosticsDavid Wood-0/+10
2022-06-16Rollup merge of #97757 - xFrednet:rfc-2383-expect-with-force-warn, r=wesleywi...Matthias Krüger-4/+6
2022-06-16Support lint expectations for `--force-warn` lints (RFC 2383)xFrednet-4/+6
2022-06-10lint: add diagnostic translation migration lintsDavid Wood-0/+8
2022-06-03Replace `&Vec<_>`s with `&[_]`sMaybe Waffle-3/+3
2022-05-30errors: simplify referring to fluent attributesDavid Wood-34/+52
2022-05-20Remove `crate` visibility usage in compilerJacob Pratt-1/+1
2022-05-12errors: `set_arg` takes `IntoDiagnosticArg`David Wood-2/+2
2022-04-29macros: subdiagnostic deriveDavid Wood-0/+14
2022-04-29errors: `span_suggestion` takes `impl ToString`David Wood-7/+7
2022-04-19Rollup merge of #96086 - jsgf:remove-extern-location, r=davidtwcoDylan DPC-24/+1