diff --git a/ices/101243.sh b/ices/101243.sh new file mode 100755 index 00000000..b1564d28 --- /dev/null +++ b/ices/101243.sh @@ -0,0 +1,20 @@ +#!/bin/bash + +rustc -Zvalidate-mir -Zdrop-tracking --edition=2021 - <<'EOF' + +struct Foo { + a: usize, + b: &'static u32, +} + +fn main() { + Box::pin(async { + Foo { + b: &42, + a: async { 0 }.await, + }; + }); +} + +EOF + diff --git a/ices/101297.rs b/ices/101297.rs new file mode 100644 index 00000000..aa757473 --- /dev/null +++ b/ices/101297.rs @@ -0,0 +1,5 @@ +fn ice() -> impl AsRef { + todo!() +} + +pub fn main() {}