]> git.ipfire.org Git - thirdparty/gcc.git/commit
gccrs: Non-allowed default type paramters
authorMuhammad Mahad <mahadtxt@gmail.com>
Mon, 14 Aug 2023 12:09:25 +0000 (17:09 +0500)
committerArthur Cohen <arthur.cohen@embecosm.com>
Tue, 16 Jan 2024 18:00:32 +0000 (19:00 +0100)
commitdd343c42d25d2ab2cc1549c5cf608d7d6b3f0589
tree4fb406a57356720ac18823484d3df9d9bcaee30f
parentb763d736a10793420945882436d7490385c7dc2d
gccrs: Non-allowed default type paramters

gcc/rust/ChangeLog:

* hir/rust-ast-lower-item.cc (ASTLoweringItem::visit):
Added more helpful error message.

gcc/testsuite/ChangeLog:

* rust/compile/generics10.rs: for dejagnu.

Signed-off-by: Muhammad Mahad <mahadtxt@gmail.com>
gcc/rust/hir/rust-ast-lower-item.cc
gcc/testsuite/rust/compile/generics10.rs