INDEXING_SLICING should probably be a restriction lint.

This commit is contained in:
Georg Brandl
2016-08-06 08:56:28 +02:00
parent 74c7880597
commit bc2ecc9623
2 changed files with 2 additions and 3 deletions

View File

@@ -43,9 +43,8 @@ declare_lint! {
/// x[2];
/// &x[0..2];
/// ```
declare_lint! {
declare_restriction_lint! {
pub INDEXING_SLICING,
Allow,
"indexing/slicing usage"
}