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

Commit e36cfd9

Browse files
Use - as a filename to skip the temp file creation bits, as suggested by Alexendoo
1 parent d63b169 commit e36cfd9

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

ices/67019.sh

+1-6
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
#!/bin/bash
22

3-
mkdir temp
4-
cd temp
5-
cat > temp.rs << EOF
6-
3+
rustc --edition 2018 -Z mir-opt-level=2 - << EOF
74
fn test(this: ((u8, u8),)) {
85
assert!((this.0).1 == 0);
96
}
@@ -12,5 +9,3 @@ fn main() {
129
}
1310
1411
EOF
15-
16-
rustc --edition 2018 temp.rs -Z mir-opt-level=2

0 commit comments

Comments
 (0)