]> git.lizzy.rs Git - rust.git/blob - tests/ui/parser/issues/issue-94340.rs
Rollup merge of #106717 - klensy:typo, r=lcnr
[rust.git] / tests / ui / parser / issues / issue-94340.rs
1 // Make sure that unexpected inner attributes are not labeled as outer ones in diagnostics when
2 // trying to parse an item and that they are subsequently ignored not triggering confusing extra
3 // diagnostics like "expected item after attributes" which is not true for `include!` which can
4 // include empty files.
5
6 include!("auxiliary/issue-94340-inc.rs");
7
8 fn main() {}