about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorJake Goulding <jake.goulding@gmail.com>2025-03-28 16:12:07 -0400
committerJake Goulding <jake.goulding@gmail.com>2025-06-04 10:40:04 -0400
commit9a50cb4a0caa07b7b751afb70464066e4d6985d3 (patch)
tree01a480f7f1053d317f9b207b6ba2516117083949 /src
parentd2bf16ad6d80827800798a00ba584f95e9689573 (diff)
Introduce the `mismatched_lifetime_syntaxes` lint
Diffstat (limited to 'src')
-rw-r--r--src/tools/miri/tests/pass/fat_ptr.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/miri/tests/pass/fat_ptr.rs b/src/tools/miri/tests/pass/fat_ptr.rs
index c5603d2cf80..13608b8f898 100644
--- a/src/tools/miri/tests/pass/fat_ptr.rs
+++ b/src/tools/miri/tests/pass/fat_ptr.rs
@@ -19,11 +19,11 @@ fn fat_ptr_via_local(a: &[u8]) -> &[u8] {
     x
 }
 
-fn fat_ptr_from_struct(s: FatPtrContainer) -> &[u8] {
+fn fat_ptr_from_struct(s: FatPtrContainer<'_>) -> &[u8] {
     s.ptr
 }
 
-fn fat_ptr_to_struct(a: &[u8]) -> FatPtrContainer {
+fn fat_ptr_to_struct(a: &[u8]) -> FatPtrContainer<'_> {
     FatPtrContainer { ptr: a }
 }