summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/issues/issue-94340.rs
blob: d0fb84a689a33a6449c8dc7f7d5f1870bfeee3ad (plain)
1
2
3
4
5
6
7
8
// 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() {}