about summary refs log tree commit diff
path: root/tests/ui/consts/const-eval/ub-ref-ptr.stderr
AgeCommit message (Collapse)AuthorLines
2023-12-07also print 'immutable' flagRalf Jung-1/+1
2023-11-26Update std::simd usage and test outputsCaleb Zulawski-1/+1
2023-10-16Normalize alloc-id in tests.Camille GILLOT-1/+1
2023-10-15more precise error for 'based on misaligned pointer' caseRalf Jung-1/+1
2023-09-14don't point at const usage site for resolution-time errorsRalf Jung-2/+2
also share the code that emits the actual error
2023-08-02const validation: point at where we found a pointer but expected an integerRalf Jung-3/+3
2023-07-24interpret: support projecting into Place::Local without force_allocationRalf Jung-1/+1
2023-05-05Stabilize const_ptr_readbors-17/+17
2023-03-11`MaybeUninit::assume_init_read` should have `noundef` load metadataScott McMurray-21/+3
I was looking into `array::IntoIter` optimization, and noticed that it wasn't annotating the loads with `noundef` for simple things like `array::IntoIter<i32, N>`. Turned out to be a more general problem as `MaybeUninit::assume_init_read` isn't marking the load as initialized (<https://rust.godbolt.org/z/Mxd8TPTnv>), which is unfortunate since that's basically its reason to exist. This PR lowers `ptr::read(p)` to `copy *p` in MIR, which fortuitiously also improves the IR we give to LLVM for things like `mem::replace`.
2023-02-20basic dyn* support for MiriRalf Jung-2/+2
2023-01-11Move /src/test to /testsAlbert Larsan-0/+186