Skip to content

Commit

Permalink
Regression test for identity_conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
flip1995 committed Apr 10, 2019
1 parent 28acef3 commit fd13cb7
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions tests/ui/read_dir_fp.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
// compile-pass

// Tracking issue: #3913

use std::fs;
use std::path::Path;

fn main() -> Result<(), std::io::Error> {
let path = Path::new(".");
for _ in fs::read_dir(path)? {}

Ok(())
}

0 comments on commit fd13cb7

Please sign in to comment.