]> git.lizzy.rs Git - rust.git/commit
update identifier naming warnings to give an example
authorP1start <rewi-github@whanau.org>
Sun, 8 Jun 2014 05:27:00 +0000 (17:27 +1200)
committerP1start <rewi-github@whanau.org>
Sun, 8 Jun 2014 05:56:09 +0000 (17:56 +1200)
commitc1c76590cb4cf4afdc0545d8515cfc3a92078506
tree8f335c2143fa59ad49c40a1666dede5a27dd015c
parent01eb0ce1227e3c7c2c32832508ea2930bd2cbb62
update identifier naming warnings to give an example

This updates identifier warnings such as ``struct `foo_bar` should have a
camel case identifier`` to provide an example.

Closes #14738.
src/librustc/middle/lint.rs
src/test/compile-fail/lint-non-camel-case-types.rs
src/test/compile-fail/lint-non-snake-case-functions.rs
src/test/compile-fail/lint-non-uppercase-statics.rs
src/test/compile-fail/match-static-const-lc.rs