We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2949f2a + fb500c3 commit f7b58eaCopy full SHA for f7b58ea
tests/crashes/108428.rs
@@ -0,0 +1,6 @@
1
+//@ known-bug: #108428
2
+//@ needs-rustc-debug-assertions
3
+//@ compile-flags: -Wunused-lifetimes
4
+fn main() {
5
+ let _: extern fn<'a: 'static>();
6
+}
tests/crashes/132826.rs
@@ -0,0 +1,10 @@
+//@ known-bug: #132826
+pub trait MyTrait {
+ type Item;
+
+impl<K> MyTrait for Vec<K> {
7
+ type Item = Vec<K>;
8
9
10
+impl<K> From<Vec<K>> for <Vec<K> as MyTrait>::Item {}
0 commit comments