Module rustc_builtin_macros::source_util
source · Functions§
- file!(): expands to the current filename */ The source_file (
loc.file
) contains a bunch more information we could spit out if we wanted. - include! : parse the given file as an expr This is generally a bad idea because it’s going to behave unhygienically.
include_str!
: read the given file, insert it as a literal string expr- line!(): expands to the current line number