std::include! [] [src]

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

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")
}