Macro ::std::macros::builtin::file!(..)

Return the name of the current file.

Examples

println!("{}:{}: Something happened", file!(), line!());