about summary refs log tree commit diff
path: root/tests/ui/unsafe/union-assignop.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/unsafe/union-assignop.stderr')
-rw-r--r--tests/ui/unsafe/union-assignop.stderr2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/unsafe/union-assignop.stderr b/tests/ui/unsafe/union-assignop.stderr
index e3a673ee1ff..6b2ebfb5099 100644
--- a/tests/ui/unsafe/union-assignop.stderr
+++ b/tests/ui/unsafe/union-assignop.stderr
@@ -2,7 +2,7 @@ error[E0133]: access to union field is unsafe and requires unsafe function or bl
   --> $DIR/union-assignop.rs:16:5
    |
 LL |     foo.a += 5;
-   |     ^^^^^^^^^^ access to union field
+   |     ^^^^^ access to union field
    |
    = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior