about summary refs log tree commit diff
path: root/src/test/debuginfo/enum-thinlto.rs
diff options
context:
space:
mode:
authorDylan DPC <dylan.dpc@gmail.com>2020-04-25 11:25:51 +0200
committerGitHub <noreply@github.com>2020-04-25 11:25:51 +0200
commit4762e225f8c63060c0e0c3c72af5fa775700b7a9 (patch)
tree8e4e239009d2020650226758acc486207e78eea6 /src/test/debuginfo/enum-thinlto.rs
parent6ded356d9c73648206bcb2c34744b76d6384c02e (diff)
parent485f1999f59a9895b94534de91e8bbd870e7bd49 (diff)
downloadrust-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