We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 19b40f7 + f8c63d0 commit f5c61a7Copy full SHA for f5c61a7
src/libstd/macros.rs
@@ -404,4 +404,18 @@ pub mod builtin {
404
/// ```
405
#[macro_export]
406
macro_rules! cfg { ($cfg:tt) => ({ /* compiler built-in */ }) }
407
+
408
+ /// Parse the current given file as an expression.
409
+ ///
410
+ /// This is generally a bad idea, because it's going to behave unhygenically.
411
412
+ /// # Examples
413
414
+ /// ```ignore
415
+ /// fn foo() {
416
+ /// include!("/path/to/a/file")
417
+ /// }
418
+ /// ```
419
+ #[macro_export]
420
+ macro_rules! include { ($cfg:tt) => ({ /* compiler built-in */ }) }
421
}
0 commit comments