about summary refs log tree commit diff
path: root/compiler/rustc_resolve/src/errors.rs
AgeCommit message (Expand)AuthorLines
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-2/+2
2024-09-02chore: Fix typos in 'compiler' (batch 2)Alexander Cyon-1/+1
2024-08-21Use bool in favor of Option<()> for diagnosticsMichael Goulet-1/+1
2024-07-29Reformat `use` declarations.Nicholas Nethercote-6/+6
2024-07-26Rollup merge of #127557 - linyihai:issue-126694, r=compiler-errorsTrevor Gross-1/+1
2024-07-26Add a label to point to the lacking macro name definitionLin Yihai-1/+1
2024-07-12When finding item gated behind a `cfg` flat, point at itEsteban Küber-0/+9
2024-07-12Auto merge of #127382 - estebank:const-let, r=compiler-errorsbors-5/+7
2024-07-11Account for `let foo = expr`; to suggest `const foo: Ty = expr;`Esteban Küber-4/+6
2024-07-11Use verbose style when suggesting changing `const` with `let`Esteban Küber-2/+2
2024-07-10Fix diagnostic and add a test for itMichael Goulet-1/+1
2024-05-24And more general errorMichael Baikov-0/+8
2024-05-24A custom error message for lending iteratorsMichael Baikov-0/+9
2024-04-21Move "elided lifetime in path" to subdiagnostic structXiretza-1/+3
2024-04-13Reorder error messagesJean CASPAR-1/+0
2024-04-13Migrate more diagnosticsJean CASPAR-0/+267
2024-04-13Migrate some diagnosticsJean CASPAR-2/+1
2024-04-13Port build_reduce_graphJeanCASPAR-3/+158
2024-03-11Remove `Default` derive from `MacroExpectedFound`.Nicholas Nethercote-1/+1
2024-03-04Rollup merge of #121130 - chenyukang:yukang-fix-121061-macro-later, r=matthia...Matthias Krüger-0/+15
2024-02-29Suggest moving if non-found macro_rules! is defined lateryukang-0/+15
2024-02-29Remove unused diagnostic structr0cky-39/+0
2024-02-06Rollup merge of #119939 - clubby789:static-const-generic-note, r=compiler-errorsMatthias Krüger-0/+11
2024-02-04Suggest `[tail @ ..]` on `[..tail]` and `[...tail]` where `tail` is unresolvedLeón Orell Valerian Liehr-0/+14
2024-02-02Suggest changing ty to const params if appropriateLeón Orell Valerian Liehr-1/+14
2024-01-29Stop using `String` for error codes.Nicholas Nethercote-31/+32
2024-01-29Remove bogus `{code}` attributes on `TraitImplMismatch`.Nicholas Nethercote-2/+1
2024-01-14Special case 'generic param from outer item' message for `Self`clubby789-0/+1
2024-01-14Add note to resolve error about generics from inside static/constclubby789-0/+10
2024-01-09Check bindings around never patternsNadrieril-0/+9
2023-12-06tip for define macro name after `macro_rules!`bohan-0/+7
2023-09-11Rollup merge of #115744 - fmease:fix-e0401, r=compiler-errorsMatthias Krüger-0/+34
2023-09-10Make E0401 translatableLeón Orell Valerian Liehr-0/+34
2023-09-04resolve: derive diag for undetermined macro resolutionbohan-0/+10
2023-06-25Add translatable diagnostic for import resolution stringsTom Martin-0/+81
2023-06-19Remove unreachable and untested suggestion for invalid span enum derive(Default)Tom Martin-7/+0
2023-06-18Add translatable diagnostic for various strings in resolve::unresolved_macro_...Tom Martin-0/+31
2023-06-18Add translatable diagnostic for cannot find in this scopeTom Martin-0/+9
2023-06-18Add translatable diagnostic for invalid importsTom Martin-0/+8
2023-06-18Add translatable diagnostic for changing import bindingTom Martin-0/+19
2023-06-01Remember names of `cfg`-ed out items to mention them in diagnosticsNilstrieb-0/+4
2023-05-11Improve error for `self: Box<self>`clubby789-0/+8
2023-05-05improve diagnostics and bless testsBoxy-6/+41
2023-04-25Fix static string lintsclubby789-0/+22
2023-04-24Rollup merge of #110255 - clubby789:proc-macro-test-help, r=jackh726Matthias Krüger-0/+9
2023-04-17Spelling - compilerJosh Soref-1/+1
2023-04-17Suggest using integration tests for proc-macrosclubby789-0/+9
2023-04-10Auto merge of #109638 - NotStirred:suggest/non-derive, r=davidtwcobors-0/+27
2023-04-07Change type and field name to be clearerTom Martin-2/+2
2023-04-07Rewrite added diagnostics as translatableTom Martin-0/+27