std::include! [] [src]

macro_rules! include {
    ($file:expr) => { ... };
}

Parse the current given file as an expression.

This is generally a bad idea, because it's going to behave unhygienically.

Examples

fn main() { fn foo() { include!("/path/to/a/file") } }
fn foo() {
    include!("/path/to/a/file")
}