Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit b5a1248

Browse files
authoredJan 27, 2025
Unrolled build for rust-lang#136072
Rollup merge of rust-lang#136072 - cyrgani:old-crash-tests, r=WaffleLapkin add two old crash tests This is for rust-lang#108248 and rust-lang#132826.
2 parents 633a3fe + fb500c3 commit b5a1248

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed
 

‎tests/crashes/108428.rs

+6
Original file line numberDiff line numberDiff line change
@@ -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

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
//@ known-bug: #132826
2+
pub trait MyTrait {
3+
type Item;
4+
}
5+
6+
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

Comments
 (0)
Failed to load comments.