]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/mem_discriminant_unfixable.stderr
iterate List by value
[rust.git] / tests / ui / mem_discriminant_unfixable.stderr
index f12a9b2d934d64a7f78dbbbb68241d9a553ebff0..e2de3776f2c911ac0f4684790f5a2e9162b9fbc5 100644 (file)
@@ -4,7 +4,7 @@ error: calling `mem::discriminant` on non-enum type `&str`
 LL |     mem::discriminant(&"hello");
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
-note: lint level defined here
+note: the lint level is defined here
   --> $DIR/mem_discriminant_unfixable.rs:1:9
    |
 LL | #![deny(clippy::mem_discriminant_non_enum)]