use file!() even though it shouldn't be necessary
This commit is contained in:
parent
b40754f0f7
commit
b2cd3e59b8
@ -34,7 +34,7 @@ fn main() {
|
||||
}
|
||||
|
||||
fn parent() {
|
||||
let file = File::open("src/test/run-pass/fds-are-cloexec.rs").unwrap();
|
||||
let file = File::open(file!()).unwrap();
|
||||
let tcp1 = TcpListener::bind("127.0.0.1:0").unwrap();
|
||||
let tcp2 = tcp1.try_clone().unwrap();
|
||||
let addr = tcp1.local_addr().unwrap();
|
||||
|
Loading…
Reference in New Issue
Block a user