about summary refs log tree commit diff
path: root/src/test/ui/errors
AgeCommit message (Collapse)AuthorLines
2023-01-11Move /src/test to /testsAlbert Larsan-130/+0
2022-11-22Tests for bad --extern library path and fileSteven Tang-0/+41
2022-10-01bless ui testsMaybe Waffle-1/+1
2022-07-27add suggestion when there is a impl of external trait on pointerVincenzo Palazzo-0/+56
Signed-off-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
2021-10-15emitter: current substitution can be multi-lineDavid Wood-0/+33
In `splice_lines`, there is some arithmetic to compute the required alignment such that future substitutions in a suggestion are aligned correctly. However, this assumed that the current substitution's span was only on a single line. In circumstances where this was not true, it could result in a arithmetic overflow when the substitution's end column was less than the substitution's start column. Signed-off-by: David Wood <david.wood@huawei.com>