blob: c3975f6b9255e657943b25ab39cd8c3a1720a1a5 [file] [log] [blame]
use prelude::*; //~ ERROR unresolved import `prelude`
mod unresolved_env {
use env;
include!(concat!(env!("NON_EXISTENT"), "/data.rs"));
//~^ ERROR cannot determine resolution for the macro `env`
}
mod nonexistent_env {
include!(concat!(env!("NON_EXISTENT"), "/data.rs"));
//~^ ERROR environment variable `NON_EXISTENT` not defined
}
mod erroneous_literal {
include!(concat!("NON_EXISTENT"suffix, "/data.rs"));
//~^ ERROR suffixes on a string literal are invalid
}
fn main() {}