Files
rust/compiler
Dylan DPC 648d644c60 Rollup merge of #95189 - fmease:fix-issue-94340, r=estebank
Stop flagging unexpected inner attributes as outer ones in certain diagnostics

Fixes #94340.

In the issue to-be-fixed I write that the general message _an inner attribute is not permitted in this context_ should be more specific noting that the “context” is the `include` macro. This, however, cannot be achieved without touching a lot of things and passing a flag to the `parse_expr` and `parse_item` calls in `expand_include`. This seems rather hacky to me. That's why I left it as it. `Span::from_expansion` does not apply either AFAIK.

`@rustbot` label A-diagnostics T-compiler
2022-04-07 11:17:13 +02:00
..
2021-09-20 22:21:42 -04:00
2022-04-05 07:01:00 +01:00
2022-04-05 07:01:00 +01:00
2022-04-05 07:01:00 +01:00
2022-04-05 07:01:00 +01:00
2022-04-05 07:01:00 +01:00
2022-04-05 07:01:00 +01:00