about summary refs log tree commit diff
path: root/src/test/ui/codemap_tests/tab.stderr
AgeCommit message (Collapse)AuthorLines
2019-04-18hide `--explain` hint if error has no extended infoAndy Russell-1/+1
2019-03-11Update testsVadim Petrochenkov-2/+2
2018-12-25Remove licensesMark Rousskov-2/+2
2018-03-14update testsGuillaume Gomez-2/+2
2018-02-26Update UI testsVadim Petrochenkov-3/+3
2018-02-25Update ui testsGuillaume Gomez-0/+2
2017-12-09Resolve type on return type suggestionEsteban Küber-1/+1
2017-11-24Display `\t` in diagnostics code as four spacesEsteban Küber-4/+4
2017-11-24Merge cfail and ui tests into ui testsOliver Schneider-2/+2
2017-09-07Fix mispositioned error indicatorsest31-3/+14
Fixes #38384 Most of the Rust community uses 4 spaces for indentation, but there are also tab users of Rust (including myself!). This patch fixes a bug in error printing which mispositions error indicators when near code with tabs. The code attempted to fix the issue by replacing spaces with tabs, but it sadly wasn't enough, as sometimes you may not print spaces but _ or ^ instead. This patch employs the reverse strategy: it replaces each tab with a space, so that the number of _ and ^ and spaces in error indicators below the code snippet line up perfectly. In a study [1] preceeding this patch, we could see that this strategy is also chosen by gcc version 6.3.0. Its not perfect, as the output is not beautiful, but its the easiest to implement. If anyone wants to improve on this, be my guest! This patch is meant as improvement of the status quo, not as perfect end status. It fixes the actual issue of mispositioning error indicators. [1]: https://github.com/rust-lang/rust/issues/38384#issuecomment-326813710
2017-07-02Revert "Change error count messages"Ariel Ben-Yehuda-1/+1
This reverts commit 5558c64f33446225739c1153b43d2e309bb4f50e.
2017-05-24Change error count messagesMichael Kohl-1/+1
See #33525 for details.
2017-01-12resolve: Do not use "resolve"/"resolution" in error messagesVadim Petrochenkov-2/+2
2016-12-26More systematic error reporting in path resolutionVadim Petrochenkov-2/+2
2016-09-26Update E0425, E0446, E0449Jonathan Turner-1/+1
2016-07-14Add fix for tabs. Move error unit tests->ui testsJonathan Turner-0/+8