summaryrefslogtreecommitdiffstats
path: root/tests/ui/lint/unaligned_references.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/lint/unaligned_references.stderr')
-rw-r--r--tests/ui/lint/unaligned_references.stderr2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/lint/unaligned_references.stderr b/tests/ui/lint/unaligned_references.stderr
index 5f9cecadb..d3abc3766 100644
--- a/tests/ui/lint/unaligned_references.stderr
+++ b/tests/ui/lint/unaligned_references.stderr
@@ -52,7 +52,7 @@ error[E0793]: reference to packed field is unaligned
--> $DIR/unaligned_references.rs:40:17
|
LL | let _ = good.data.clone();
- | ^^^^^^^^^^^^^^^^^
+ | ^^^^^^^^^
|
= note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses
= note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced)