Skip to content

gccrs: walk the binding generic arguments for unconstrained checks - #4873

Merged
philberty merged 1 commit into
masterfrom
phil/unconstrained
Sep 8, 2026
Merged

gccrs: walk the binding generic arguments for unconstrained checks#4873
philberty merged 1 commit into
masterfrom
phil/unconstrained

Conversation

@philberty

Copy link
Copy Markdown
Member

Fixes #4862
Fixes #4863

gcc/rust/ChangeLog:

* typecheck/rust-hir-type-check-base.cc: walk type bindings

gcc/testsuite/ChangeLog:

* rust/compile/issue-4862.rs: New test.
* rust/compile/issue-4863.rs: New test.

Fixes #4862
Fixes #4863

gcc/rust/ChangeLog:

	* typecheck/rust-hir-type-check-base.cc: walk type bindings

gcc/testsuite/ChangeLog:

	* rust/compile/issue-4862.rs: New test.
	* rust/compile/issue-4863.rs: New test.

Signed-off-by: Philip Herron <herron.philip@googlemail.com>
@philberty philberty added the core Issue related to the compilation of the `core` crate label Sep 8, 2026
@philberty
philberty added this pull request to the merge queue Sep 8, 2026
Merged via the queue into master with commit 1f4ef99 Sep 8, 2026
13 checks passed
@philberty
philberty deleted the phil/unconstrained branch September 10, 2026 16:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core Issue related to the compilation of the `core` crate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

unconstrained type param fnonce unconstrained type param

1 participant