We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bc2a3e6 commit 0a66f03Copy full SHA for 0a66f03
1 file changed
gcc/testsuite/rust/compile/issue-3599.rs
@@ -0,0 +1,8 @@
1
+#[lang = "sized"]
2
+trait Sized {}
3
+
4
+trait Bar {}
5
6
+struct S; // { dg-warning "struct is never constructed" }
7
8
+pub fn test(foo: impl Bar) {}
0 commit comments