Skip to content
This repository was archived by the owner on May 23, 2024. It is now read-only.

Commit 1b7904d

Browse files
authored
Merge pull request #1409 from matthiaskrgr/2
2 parents a3ea9ca + 628f128 commit 1b7904d

File tree

2 files changed

+25
-0
lines changed

2 files changed

+25
-0
lines changed

ices/101243.sh

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
#!/bin/bash
2+
3+
rustc -Zvalidate-mir -Zdrop-tracking --edition=2021 - <<'EOF'
4+
5+
struct Foo {
6+
a: usize,
7+
b: &'static u32,
8+
}
9+
10+
fn main() {
11+
Box::pin(async {
12+
Foo {
13+
b: &42,
14+
a: async { 0 }.await,
15+
};
16+
});
17+
}
18+
19+
EOF
20+

ices/101297.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
fn ice() -> impl AsRef<Fn(&())> {
2+
todo!()
3+
}
4+
5+
pub fn main() {}

0 commit comments

Comments
 (0)