about summary refs log tree commit diff
path: root/src/test/incremental/thinlto
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2020-01-02 11:37:19 +0000
committerbors <bors@rust-lang.org>2020-01-02 11:37:19 +0000
commit5b710eef9719821779ad7d5ec3f41fa0465c1152 (patch)
treed97b1342c44a44777c796aa8fb7bc2001d79061b /src/test/incremental/thinlto
parent99dd0bb653f5ec3767b899c939468512abef0f9c (diff)
parent8b36196cb610dea86ba425079584f71d78cc218d (diff)
downloadrust-5b710eef9719821779ad7d5ec3f41fa0465c1152.tar.gz
rust-5b710eef9719821779ad7d5ec3f41fa0465c1152.zip
Auto merge of #4977 - krishna-veerareddy:issue-4969-replace-consts-fp, r=phansch
Prevent `replace_consts` lint within match patterns

Currently `replace_consts` lint applies within match patterns but the suggestion is incorrect as function calls are disallowed in them. To fix this we prevent the lint from firing within patterns.

Fixes #4969

changelog: Fix false positive in `replace_consts` lint
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions