Skip to content

Rust: Model [T;n] -> [T] unsized coercion in type inference - #22432

Draft
hvitved wants to merge 6 commits into
github:mainfrom
hvitved:rust/array-slice-unsized-coercion
Draft

Rust: Model [T;n] -> [T] unsized coercion in type inference#22432
hvitved wants to merge 6 commits into
github:mainfrom
hvitved:rust/array-slice-unsized-coercion

Conversation

@hvitved

@hvitved hvitved commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@hvitved
hvitved force-pushed the rust/array-slice-unsized-coercion branch from fe1b663 to 93e96e8 Compare August 26, 2026 13:51
*/
pragma[inline]
private predicate typeMatch(
predicate typeMatch(

/** A field access expression, for example `x.f`. */
class FieldAccess extends Expr {
/* Gets the receiver of this field access. */
*
* This predicate should perform the dual post-processing of `inferInvocationType`.
*/
default Type inferInvocationTypeContextual(Invocation invocation, TypePath path) {
@github-actions github-actions Bot added the Rust Pull requests that update Rust code label Aug 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Rust Pull requests that update Rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants