rust/tests/ui/parser/issues/issue-94340.rs
2023-01-11 09:32:08 +00:00

9 lines
370 B
Rust

// Make sure that unexpected inner attributes are not labeled as outer ones in diagnostics when
// trying to parse an item and that they are subsequently ignored not triggering confusing extra
// diagnostics like "expected item after attributes" which is not true for `include!` which can
// include empty files.
include!("auxiliary/issue-94340-inc.rs");
fn main() {}