about summary refs log tree commit diff
path: root/src/test/ui/reachable/expr_cast.stderr
AgeCommit message (Collapse)AuthorLines
2023-01-11Move /src/test to /testsAlbert Larsan-24/+0
2021-11-08Don't abort compilation after giving a lint errorJoshua Nelson-1/+8
The only reason to use `abort_if_errors` is when the program is so broken that either: 1. later passes get confused and ICE 2. any diagnostics from later passes would be noise This is never the case for lints, because the compiler has to be able to deal with `allow`-ed lints. So it can continue to lint and compile even if there are lint errors.
2020-01-24Normalise notes with the/isvarkor-1/+1
2019-09-21Do not trigger unreachable lint in async body and Use span labelsEsteban Küber-6/+4
2019-09-18Point at original span when emitting unreachable lintAaron Hill-0/+5
Fixes #64590 When we emit an 'unreachable' lint, we now add a note pointing at the expression that actually causes the code to be unreachable (e.g. `return`, `break`, `panic`). This is especially useful when macros are involved, since a diverging expression might be hidden inside of a macro invocation.
2019-03-11Update testsVadim Petrochenkov-1/+1
2018-12-25Remove licensesMark Rousskov-2/+2
2018-03-14stabilise feature(never_type)Andrew Cann-1/+1
Replace feature(never_type) with feature(exhaustive_patterns). feature(exhaustive_patterns) only covers the pattern-exhaustives checks that used to be covered by feature(never_type)
2018-02-26Update UI testsVadim Petrochenkov-2/+2
2017-11-24Merge cfail and ui tests into ui testsOliver Schneider-1/+1
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-03-30cherry-pick over the tests I wrote for the reachability codeNiko Matsakis-0/+14
For the most part, the current code performs similarly, although it differs in some particulars. I'll be nice to have these tests for judging future changes, as well.