]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/cstring.stderr
iterate List by value
[rust.git] / tests / ui / cstring.stderr
index 21838237413c4d82b572e95b6be041e1145338c2..87cb29be57758a3f9679a2d95cebd4fe2caf321a 100644 (file)
@@ -4,7 +4,7 @@ error: you are getting the inner pointer of a temporary `CString`
 LL |     CString::new("foo").unwrap().as_ptr();
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
-note: lint level defined here
+note: the lint level is defined here
   --> $DIR/cstring.rs:1:9
    |
 LL | #![deny(clippy::temporary_cstring_as_ptr)]