You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Auto merge of #1328 - RalfJung:align-false-pos, r=RalfJung
for alignment errors, note that there might be false positives
Cc @shepmaster
```
error: Undefined Behavior: accessing memory with alignment 1, but alignment 8 is required
--> tests/compile-fail/unaligned_pointers/alignment.rs:8:9
|
8 | *y_ptr = 42;
| ^^^^^^^^^^^ accessing memory with alignment 1, but alignment 8 is required
|
= help: this usually indicates that your program performed an invalid operation and caused Undefined Behavior
= help: but alignment errors can also be false positives, see #1074
```
0 commit comments