about summary refs log tree commit diff
path: root/tests/ui/replace_consts.fixed
AgeCommit message (Collapse)AuthorLines
2020-01-01Add `if let` test caseKrishna Veera Reddy-1/+11
2019-12-31Prevent `replace_consts` lint within match patternsKrishna Veera Reddy-0/+6
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.
2019-07-06Update rustfix testsLzu Tao-5/+0
2019-01-28Atomics constants are now handled by the deprecation lintOliver Scherer-12/+0
2019-01-13Add run-rustfix to replace_const testWilco Kusee-0/+100