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-08 18:37:16 +0200
committerGitHub <noreply@github.com>2020-04-08 18:37:16 +0200
commit956e50bce166663da04601bd01888d879d6f80e8 (patch)
tree2e0335c0e636a1eea8ebe2367ae9509bba111a3e /src/test/debuginfo/enum-thinlto.rs
parent42abbd8878d3b67238f3611b0587c704ba94f39c (diff)
parent817f05986ae77538e5721223a55b14cd780dbd73 (diff)
downloadrust-956e50bce166663da04601bd01888d879d6f80e8.tar.gz
rust-956e50bce166663da04601bd01888d879d6f80e8.zip
Rollup merge of #70789 - lcnr:macros, r=varkor
remove false positives of unused_braces

fixes #70717

We could potentially be more aggressive when linting let bindings by checking if there are any explicit `ref`s.
I have been unable to create a snippet which compiles when using braces but has a borrowck error
without them. The closes I've gotten is [the following (playground)](https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=4a1552ebe9648cb13fcb8dd969189a6c).

r? @eddyb
Diffstat (limited to 'src/test/debuginfo/enum-thinlto.rs')
0 files changed, 0 insertions, 0 deletions