Closed
Description
On
rustc 1.2.0-nightly (8937ec1 2015-06-15)
Linux 3.13.0-46-generic #79-Ubuntu SMP x86_64 GNU/Linux
This program:
fn main() {
let func = move || {
println!("ALIVE {}:{}", file!(), line!());
println!("ALIVE {}:{}", file!(), line!());
println!("ALIVE {}:{}", file!(), line!());
println!("ALIVE {}:{}", file!(), line!());
println!("ALIVE {}:{}", file!(), line!());
println!("ALIVE {}:{}", file!(), line!());
println!("ALIVE {}:{}", file!(), line!());
};
func();
}
prints a bunch of time:
ALIVE /tmp/blub.rs:2
Confusingly enough it works correctly on the playground.
Metadata
Metadata
Assignees
Labels
No labels