[gccrs COMMIT 2/2] gccrs: Add testcase to show issue is fixed
gerris.rs@gmail.com
gerris.rs@gmail.com
Fri Sep 18 14:09:19 GMT 2026
From: Philip Herron <herron.philip@googlemail.com>
Fixes Rust-GCC/gccrs#3015
gcc/testsuite/ChangeLog:
* rust/compile/issues/3015.rs: New test.
Signed-off-by: Philip Herron <herron.philip@googlemail.com>
---
This change was merged into the gccrs repository and is posted here for
upstream visibility and potential drive-by review, as requested by GCC
release managers.
Each commit email contains a link to its details on github from where you can
find the Pull-Request and associated discussions.
Commit on github: https://github.com/Rust-GCC/gccrs/commit/ae002f71251b6e04abb542390e0262e86f6772c1
The commit has been mentioned in the following issue(s):
- Rust-GCC/gccrs#3015: https://github.com/Rust-GCC/gccrs/issues/3015
The commit has been mentioned in the following pull-request(s):
- https://github.com/Rust-GCC/gccrs/pull/4906
gcc/testsuite/rust/compile/issues/3015.rs | 7 +++++++
1 file changed, 7 insertions(+)
create mode 100644 gcc/testsuite/rust/compile/issues/3015.rs
diff --git a/gcc/testsuite/rust/compile/issues/3015.rs b/gcc/testsuite/rust/compile/issues/3015.rs
new file mode 100644
index 000000000..b484bfe0a
--- /dev/null
+++ b/gcc/testsuite/rust/compile/issues/3015.rs
@@ -0,0 +1,7 @@
+#![feature(no_core, lang_items)]
+#![no_core]
+
+#[lang = "sized"]
+trait Sized {}
+
+impl<T, const N: usize> [T; N] {}
--
2.55.0
More information about the Gcc-rust
mailing list