Warn if include macro fails to include entire file

This commit is contained in:
Mark Rousskov
2019-09-08 10:00:26 -04:00
parent f3c9cece7b
commit e068cec13e
9 changed files with 47 additions and 2 deletions

View File

@@ -0,0 +1,6 @@
// error-pattern include macro expected single expression
fn main() {
include!("include-single-expr-helper.rs");
include!("include-single-expr-helper-1.rs");
}