diff options
| author | Ralf Jung <post@ralfj.de> | 2022-08-28 13:31:36 -0400 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2022-08-28 13:40:24 -0400 |
| commit | f29c3c421b9fd2afb52062590c5f2e052f8d3815 (patch) | |
| tree | 7fe4616d775b19754f2e1e4068e74104a090600c /src/test/ui/consts | |
| parent | a9f9145b094188d1915138385cb4dc8c8656090c (diff) | |
entirely get rid of NeedsRfc CTFE errors
Diffstat (limited to 'src/test/ui/consts')
| -rw-r--r-- | src/test/ui/consts/miri_unleashed/ptr_arith.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/ui/consts/miri_unleashed/ptr_arith.rs b/src/test/ui/consts/miri_unleashed/ptr_arith.rs index 2d5cb9b6834..6a19b294585 100644 --- a/src/test/ui/consts/miri_unleashed/ptr_arith.rs +++ b/src/test/ui/consts/miri_unleashed/ptr_arith.rs @@ -19,4 +19,7 @@ static PTR_INT_TRANSMUTE: () = unsafe { //~| unable to turn pointer into raw bytes }; +// I'd love to test pointer comparison, but that is not possible since +// their `PartialEq` impl is non-`const`. + fn main() {} |
