]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/ptr_offset_with_cast.rs
iterate List by value
[rust.git] / tests / ui / ptr_offset_with_cast.rs
index 4549f960ca0d4bba2eed2f880e40b3bd274aed18..3416c4b727a53750dc01cb856803d2a4b3338c6b 100644 (file)
@@ -1,3 +1,5 @@
+// run-rustfix
+
 fn main() {
     let vec = vec![b'a', b'b', b'c'];
     let ptr = vec.as_ptr();