diff --git a/ices/84737.sh b/ices/84737.sh new file mode 100644 index 00000000..2cef4c18 --- /dev/null +++ b/ices/84737.sh @@ -0,0 +1,22 @@ +#!/bin/bash + +cat > Cargo.toml <<'EOF' +[package] +name = "abc" +version = "0.0.1" +edition = "2018" +EOF + +mkdir -p src + +cat > src/test.rs <<'EOF' +#![allow(incomplete_features)] +#![feature(const_generics)] + +async fn test(test: [(); { 0 }]) { + let _ = &test; + async {}.await; +} +EOF + +cargo test