We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1edd231 + da2260d commit 50f3796Copy full SHA for 50f3796
tests/compile-fail/fs/isolated_file.rs
@@ -0,0 +1,6 @@
1
+// ignore-windows: File handling is not implemented yet
2
+// error-pattern: `open` not available when isolation is enabled
3
+
4
+fn main() {
5
+ let _file = std::fs::File::open("file.txt").unwrap();
6
+}
0 commit comments