diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-09-19 18:31:39 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-09-19 18:31:39 +0200 |
| commit | 3c286826aab33469e18b43d84ade32e35cdf65c1 (patch) | |
| tree | bd00ad4e270ef387ed8069c2369b29b2550654ea /src/test/ui/thinlto | |
| parent | bda52e558e029f64e812fea8a0a7844c8888c5a0 (diff) | |
| parent | d67528ff7dbbe226fa583b9585cee2138533770e (diff) | |
| download | rust-3c286826aab33469e18b43d84ade32e35cdf65c1.tar.gz rust-3c286826aab33469e18b43d84ade32e35cdf65c1.zip | |
Rollup merge of #64592 - Aaron1011:feature/unreachable-span, r=Centril
Point at original span when emitting unreachable lint 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.
Diffstat (limited to 'src/test/ui/thinlto')
0 files changed, 0 insertions, 0 deletions
