auto merge of #11674 : indirect/rust/doc_file, r=alexcrichton

Found out about `file!` today from o11c in IRC.
This commit is contained in:
bors 2014-01-20 21:26:22 -08:00
commit e65a8b88ca

View File

@ -484,6 +484,7 @@ include:
* `fmt!` : format data into a string
* `env!` : look up an environment variable's value at compile time
* `file!`: return the path to the file being compiled
* `stringify!` : pretty-print the Rust expression given as an argument
* `include!` : include the Rust expression in the given file
* `include_str!` : include the contents of the given file as a string