about summary refs log tree commit diff
path: root/compiler/rustc_ast_lowering/src/errors.rs
AgeCommit message (Expand)AuthorLines
2024-08-27Rollup merge of #126013 - nnethercote:unreachable_pub, r=UrgauMatthias Krüger-40/+40
2024-08-21Use bool in favor of Option<()> for diagnosticsMichael Goulet-1/+1
2024-08-16Add `warn(unreachable_pub)` to `rustc_ast_lowering`.Nicholas Nethercote-40/+40
2024-07-29Reformat `use` declarations.Nicholas Nethercote-4/+4
2024-06-28Make sure we deny unimplemented RTN on qpath segmentsMichael Goulet-0/+5
2024-06-28Change RTN to use .. againMichael Goulet-0/+6
2024-06-24Deny use<> for RPITITsMichael Goulet-0/+8
2024-04-28Add a note to the ArbitraryExpressionInPattern errorest31-0/+2
2024-04-24Error on using `yield` without also using `#[coroutine]` on the closureOli Scherer-0/+9
2024-04-21Pass translation closure to add_to_diag_with() as referenceXiretza-1/+1
2024-04-15Validation and other thingsMichael Goulet-0/+7
2024-03-11Rename `AddToDiagnostic` as `Subdiagnostic`.Nicholas Nethercote-3/+3
2024-03-11Remove unused impls from some subdiagnostics.Nicholas Nethercote-2/+2
2024-03-11Remove unused impls for some diagnostics.Nicholas Nethercote-26/+26
2024-03-08Rollup merge of #119365 - nbdd0121:asm-goto, r=AmanieuMatthias Krüger-0/+10
2024-03-05Rename `SubdiagnosticMessageOp` as `SubdiagMessageOp`.Nicholas Nethercote-2/+2
2024-02-28Rename `DiagnosticArgFromDisplay` as `DiagArgFromDisplay`.Nicholas Nethercote-3/+2
2024-02-28Rename `DiagnosticBuilder` as `Diag`.Nicholas Nethercote-2/+2
2024-02-24Add asm label support to AST and HIRGary Guo-0/+10
2024-02-20Reduce capabilities of `Diagnostic`.Nicholas Nethercote-2/+7
2024-02-10Add a helpful suggestionMichael Goulet-0/+2
2024-02-10No more associated type bounds in dyn traitMichael Goulet-3/+2
2024-02-08Add `SubdiagnosticMessageOp` as a trait alias.Nicholas Nethercote-9/+5
2024-02-06Auto merge of #120361 - compiler-errors:async-closures, r=oli-obkbors-7/+0
2024-02-06Make async closures directly lower to ClosureKind::CoroutineClosureMichael Goulet-7/+0
2024-01-31Error on incorrect item kind in async boundMichael Goulet-0/+15
2024-01-29Stop using `String` for error codes.Nicholas Nethercote-10/+10
2024-01-16Async closures will move params into the future alwaysMichael Goulet-8/+0
2024-01-09Add error code for missing base expression in struct update syntaxclubby789-2/+2
2024-01-07Split note, fix const/static impl trait errorMichael Goulet-0/+1
2024-01-01Deny defaults for higher-ranked generic parametersLeón Orell Valerian Liehr-2/+2
2023-12-26fallback `default` to `None` during ast-loweing for lifetime binderbohan-0/+7
2023-12-03Disallow arm bodies on never patternsNadrieril-0/+9
2023-12-03Disallow guards on never patternsNadrieril-0/+8
2023-12-03Disallow an arm without a body (except for never patterns)Nadrieril-0/+9
2023-10-20s/generator/coroutine/Oli Scherer-2/+2
2023-10-20s/Generator/Coroutine/Oli Scherer-2/+2
2023-10-13Deprecate E0706Michael Goulet-11/+0
2023-08-08feat: `riscv-interrupt-{m,s}` calling conventionsSeth Pellegrino-0/+17
2023-04-27Make async removal span more resilient to macro expansionsMichael Goulet-1/+1
2023-04-12Rollup merge of #110203 - compiler-errors:rtn-dots, r=eholkMatthias Krüger-7/+1
2023-04-10Remove `..` from return type notationMichael Goulet-7/+1
2023-04-10Fix typos in compilerDaniPopes-1/+1
2023-03-28Add `(..)` syntax for RTNMichael Goulet-1/+7
2023-03-28Add tests and error messagesMichael Goulet-0/+16
2023-03-02Restrict `#[rustc_box]` to `Box::new` callsclubby789-7/+0
2023-02-22Move associated type bounds check to ast loweringMichael Goulet-0/+8
2023-02-22errors: generate typed identifiers in each crateDavid Wood-1/+1
2022-10-26Convert all #[suggestion_*] attributes to #[suggestion(style = "...")]Xiretza-1/+2
2022-10-23Migrate all diagnosticsNilstrieb-51/+51