]> git.ipfire.org Git - thirdparty/gcc.git/commit
gccrs: Fix bootstrap with C++20
authorArthur Cohen <arthur.cohen@embecosm.com>
Thu, 27 Nov 2025 17:55:26 +0000 (18:55 +0100)
committerArthur Cohen <arthur.cohen@embecosm.com>
Thu, 27 Nov 2025 17:56:21 +0000 (18:56 +0100)
commitcf6a14ef153a4f139ed7452fd7aebd86c5031fbb
tree6c73d3318d83f2c04f17955a3886dbb635e5978f
parent6247a9086ca7a29ba1db9680010a319769717150
gccrs: Fix bootstrap with C++20

Remove container of incomplete type and reorder headers.

gcc/rust/ChangeLog:

* typecheck/rust-tyty-subst.h: Remove now useless inclusion.
* typecheck/rust-tyty.h (class TypeBoundPredicate): New, moved from rust-tyty-bounds.h
(class TypeBoundsMappings): Likewise.
* typecheck/rust-tyty-bounds.h: Removed.
gcc/rust/typecheck/rust-tyty-bounds.h [deleted file]
gcc/rust/typecheck/rust-tyty-subst.h
gcc/rust/typecheck/rust-tyty.h