rust/tests/ui/parser/issues/issue-94340.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
370 B
Rust
Raw Normal View History

// 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() {}