]> git.lizzy.rs Git - rust.git/commit
Lint against const items which are interior mutable. Fix #1560.
authorkennytm <kennytm@gmail.com>
Wed, 6 Jun 2018 15:20:22 +0000 (23:20 +0800)
committerkennytm <kennytm@gmail.com>
Fri, 22 Jun 2018 19:35:36 +0000 (03:35 +0800)
commit88b7603b167dd7cbd03522e37ad9f7dec18cae23
treef637405733bf4e272c6ce75c8d79a9fa172b4c70
parent5f5fa084ec89d692c251e28ca8923a75b29cb1af
Lint against const items which are interior mutable. Fix #1560.
clippy_lints/src/lib.rs
clippy_lints/src/non_copy_const.rs [new file with mode: 0644]
tests/ui/non_copy_const.rs [new file with mode: 0644]
tests/ui/non_copy_const.stderr [new file with mode: 0644]