about summary refs log tree commit diff
path: root/tests/ui/dyn-star
AgeCommit message (Collapse)AuthorLines
2023-12-14Rollup merge of #118948 - compiler-errors:noop, r=eholkJubilee-19/+5
Use the `Waker::noop` API in tests Avoids the need to duplicate this code over and over again r? eholk
2023-12-14Use the Waker::noop API in testsMichael Goulet-19/+5
2023-12-14update use of feature flagslcnr-3/+3
2023-11-24Show number in error message even for one errorNilstrieb-15/+15
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
2023-11-22Stabilize RFC3324 dyn upcasting coercionUrgau-4/+4
Aka trait_upcasting feature. And also adjust the `deref_into_dyn_supertrait` lint.
2023-09-10Point out if a local trait has no implementationsMichael Goulet-0/+6
2023-08-03add testslcnr-35/+6
2023-07-29cg_llvm: remove pointee types and pointercast/bitcast-of-ptrErik Desjardins-23/+0
2023-07-27Update the minimum external LLVM to 15Josh Stone-2/+0
2023-07-21Revert "Auto merge of #113166 - moulins:ref-niches-initial, r=oli-obk"David Tolnay-1/+1
This reverts commit 557359f92512ca88b62a602ebda291f17a953002, reversing changes made to 1e6c09a803fd543a98bfbe1624d697a55300a786.
2023-07-21Track ABI info. in `NaiveLayout`, and use it for `PointerLike` checksMoulins-1/+0
THis significantly complicates `NaiveLayout` logic, but is necessary to ensure that bounds like `NonNull<T>: PointerLike` hold in generic contexts. Also implement exact layout computation for structs.
2023-07-21add `naive_layout_of` queryMoulins-0/+1
2023-07-18moved note as unspanned note, moved note to the bottom of the msgnxya-5/+1
2023-07-18added links as a notenxya-1/+1
2023-07-18add links to query documentation for E0391nxya-1/+1
2023-07-18added links as a notenxya-1/+6
2023-07-18add links to query documentation for E0391nxya-1/+1
2023-07-14tests: adapt for removal of -opaque-pointers in LLVM 17Krasimir Georgiev-0/+2
The commit https://github.com/llvm/llvm-project/commit/53717cabf837a589dd54a47dd8b4b3b9677f0b85 removed the flag from LLVM.
2023-07-07Normalize opaques during codegen in new solverMichael Goulet-3/+34
2023-07-06Dont ICE for `dyn* Trait: Trait` goals during selection in new trait solverMichael Goulet-1/+3
2023-07-03update testslcnr-58/+14
2023-05-31Check that RPITs are compatible with the opaques inferred during HIR typeck tooMichael Goulet-35/+0
2023-05-25Strongly prefer alias and param-env boundsMichael Goulet-7/+63
2023-05-23Don't ICE when computing PointerLike trait when region vars are in param-envMichael Goulet-0/+52
2023-05-12Don't ICE in layout computation for placeholder typesMichael Goulet-1/+19
2023-04-08Enforce that PointerLike requires a pointer-like ABIMichael Goulet-12/+20
2023-04-04dyn* is a valid constMichael Goulet-0/+21
2023-03-11Gate all usages of dyn*, even in macrosMichael Goulet-9/+29
2023-02-20slightly beef up dyn-star-to-dyn testRalf Jung-3/+11
2023-02-18Use inttoptr to support usize as dyn* value, use pointercast to make sure ↵Michael Goulet-0/+23
pointers are compatible
2023-02-07Rename PointerSized to PointerLikeMichael Goulet-17/+17
2023-01-30Modify primary span label for E0308Esteban Küber-1/+1
The previous output was unintuitive to users.
2023-01-11Allow codegen to unsize dyn* to dynMichael Goulet-0/+20
2023-01-11Move /src/test to /testsAlbert Larsan-0/+683