about summary refs log tree commit diff
path: root/tests/ui/unsafe/raw-pointer-field-access-error.rs
diff options
context:
space:
mode:
authorKivooeo <Kivooeo123@gmail.com>2025-07-18 22:06:07 +0500
committerKivooeo <Kivooeo123@gmail.com>2025-07-25 20:38:54 +0500
commite9959aa74e23eb340d6c9e9a4eab807be03b028f (patch)
tree493df6b8c16382a44c1a8a51d5a1f5f7e416e5a7 /tests/ui/unsafe/raw-pointer-field-access-error.rs
parent9f38ca97eab53ba2f431a48bec2343ef52335714 (diff)
downloadrust-e9959aa74e23eb340d6c9e9a4eab807be03b028f.tar.gz
rust-e9959aa74e23eb340d6c9e9a4eab807be03b028f.zip
comments
Diffstat (limited to 'tests/ui/unsafe/raw-pointer-field-access-error.rs')
-rw-r--r--tests/ui/unsafe/raw-pointer-field-access-error.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/ui/unsafe/raw-pointer-field-access-error.rs b/tests/ui/unsafe/raw-pointer-field-access-error.rs
index 0c34554c12d..04b45b2d3c6 100644
--- a/tests/ui/unsafe/raw-pointer-field-access-error.rs
+++ b/tests/ui/unsafe/raw-pointer-field-access-error.rs
@@ -1,3 +1,5 @@
+//! Regression test for https://github.com/rust-lang/rust/issues/11004
+
 use std::mem;
 
 struct A { x: i32, y: f64 }