Michael Howell
a5b639dc01
diagnostics: remove inconsistent English article "this" from E0107
...
Consider `tests/ui/const-generics/generic_const_exprs/issue-102768.stderr`,
the error message where it gives additional notes about where the associated
type is defined, and how the dead code lint doesn't have an article,
like in `tests/ui/lint/dead-code/issue-85255.stderr`. They don't have
articles, so it seems unnecessary to have one here.
2023-02-23 10:27:06 -07:00
Michael Howell
3f374128ee
diagnostics: update test cases to refer to assoc fn with self
as method
2023-02-22 08:40:47 -07:00
clubby789
0b9a3e29d4
Fix overlapping spans in removing extra arguments
2023-02-21 13:13:09 +00:00
Esteban Küber
dff10d0668
Re-add replacement logic and add comment explaining it
2023-02-14 20:22:10 +00:00
Esteban Küber
755252bf51
Show the effects of weird code commented out
2023-02-14 20:22:10 +00:00
Esteban Küber
bd176ee591
Make removal suggestion not verbose
2023-02-14 20:22:10 +00:00
Esteban Küber
5d63e10318
rebase and review comments
2023-02-14 20:22:10 +00:00
Esteban Küber
287cd5974c
Avoid trailing commas
2023-02-14 20:22:10 +00:00
Esteban Küber
f02d8ec15e
More accurate spans for arg removal suggestion
2023-02-14 20:22:09 +00:00
Esteban Küber
5ae8e23816
Mention fn coercion rules (needs to be expanded)
2023-01-30 21:51:33 +00:00
Esteban Küber
62ba3e70a1
Modify primary span label for E0308
...
The previous output was unintuitive to users.
2023-01-30 20:12:19 +00:00
Albert Larsan
cf2dff2b1e
Move /src/test to /tests
2023-01-11 09:32:08 +00:00