diff options
| author | Michael Goulet <michael@errs.io> | 2025-03-06 12:22:13 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-03-06 12:22:13 -0500 |
| commit | aab7b145d0e1c0d297fe2b678e327daffb62e909 (patch) | |
| tree | fd8e3a30affebcd3f950548874d943f6c692b1ad /compiler/rustc_hir_analysis/messages.ftl | |
| parent | cc5d90cbad746560c2e1a6a71777c096f7a7c575 (diff) | |
| parent | 09e584671b439dc8a9d57cc900cc26668a69ddea (diff) | |
| download | rust-aab7b145d0e1c0d297fe2b678e327daffb62e909.tar.gz rust-aab7b145d0e1c0d297fe2b678e327daffb62e909.zip | |
Rollup merge of #137565 - compiler-errors:macro-ex, r=estebank
Try to point of macro expansion from resolver and method errors if it involves macro var In the case that a macro caller passes an identifier into a macro generating a path or method expression, point out that identifier in the context of the *macro* so it's a bit more clear how the macro is involved in causing the error. r? ``````````@estebank`````````` or reassign
Diffstat (limited to 'compiler/rustc_hir_analysis/messages.ftl')
| -rw-r--r-- | compiler/rustc_hir_analysis/messages.ftl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/rustc_hir_analysis/messages.ftl b/compiler/rustc_hir_analysis/messages.ftl index d16aba197fe..06c39996a12 100644 --- a/compiler/rustc_hir_analysis/messages.ftl +++ b/compiler/rustc_hir_analysis/messages.ftl @@ -617,6 +617,8 @@ hir_analysis_variances_of = {$variances} hir_analysis_where_clause_on_main = `main` function is not allowed to have a `where` clause .label = `main` cannot have a `where` clause +hir_analysis_within_macro = due to this macro variable + hir_analysis_wrong_number_of_generic_arguments_to_intrinsic = intrinsic has wrong number of {$descr} parameters: found {$found}, expected {$expected} .label = expected {$expected} {$descr} {$expected -> |
