Closed
Description
Example to reproduce:
// src/lib.rs
include!("foo.rs");
// foo.rs
#[cfg(feature = "never")]
include!("error.rs");
// error.rs
omg i'm a syntax error
This should successfully compile, but instead will have a syntax error. It should behave identically to what would occur if you inlined the first include!
, (which does compile successfully)
// src/lib.rs
#[cfg(feature = "never")]
include!("error.rs");
// error.rs
omg i'm a syntax error