diff options
| author | Dylan DPC <dylan.dpc@gmail.com> | 2020-04-25 11:25:51 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-04-25 11:25:51 +0200 |
| commit | 4762e225f8c63060c0e0c3c72af5fa775700b7a9 (patch) | |
| tree | 8e4e239009d2020650226758acc486207e78eea6 /src/test/debuginfo/enum-thinlto.rs | |
| parent | 6ded356d9c73648206bcb2c34744b76d6384c02e (diff) | |
| parent | 485f1999f59a9895b94534de91e8bbd870e7bd49 (diff) | |
| download | rust-4762e225f8c63060c0e0c3c72af5fa775700b7a9.tar.gz rust-4762e225f8c63060c0e0c3c72af5fa775700b7a9.zip | |
Rollup merge of #71517 - flip1995:unused_braces_hack, r=oli-obk
Quick and dirty fix of the unused_braces lint cc @lcnr Adresses #70814 This at least prevents lint output, if no span is available. Even though this also prevents the `unused_parens` lint from emitting, when the `DUMMY_SP` is used there, but I think that should be ok, since error messages without a span are quite useless anyway. Clippy CI is currently blocked on this bug. If this quick and dirty fix should be rejected, I could try to work around this in Clippy. r? @shepmaster
Diffstat (limited to 'src/test/debuginfo/enum-thinlto.rs')
0 files changed, 0 insertions, 0 deletions
