Module syntax::ext::source_util [] [src]

Unstable (rustc_private)

Functions

expand_column [Unstable]
expand_file [Unstable]

file!(): expands to the current filename */ The filemap (loc.file) contains a bunch more information we could spit out if we wanted.

expand_include [Unstable]

include! : parse the given file as an expr This is generally a bad idea because it's going to behave unhygienically.

expand_include_bytes [Unstable]
expand_include_str [Unstable]
expand_line [Unstable]

line!(): expands to the current line number

expand_mod [Unstable]
expand_stringify [Unstable]