Auto merge of #1506 - RalfJung:test-isolation, r=RalfJung

make sure opening a file fails with isolation enabled
This commit is contained in:
bors 2020-08-10 08:24:56 +00:00
commit 50f3796597

View File

@ -0,0 +1,6 @@
// ignore-windows: File handling is not implemented yet
// error-pattern: `open` not available when isolation is enabled
fn main() {
let _file = std::fs::File::open("file.txt").unwrap();
}