diff options
| author | Dylan DPC <99973273+Dylan-DPC@users.noreply.github.com> | 2022-04-07 11:17:13 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-04-07 11:17:13 +0200 |
| commit | 648d644c602406eb003dde56e7fd48effce07f15 (patch) | |
| tree | 069e38c5e03b69164c67e99f9507242375d4a847 /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp | |
| parent | 8cd6080f6c778f6664ea3d12ca7848231707a627 (diff) | |
| parent | 5ab0548500a30134496ba28eb2291b0523b7346a (diff) | |
| download | rust-648d644c602406eb003dde56e7fd48effce07f15.tar.gz rust-648d644c602406eb003dde56e7fd48effce07f15.zip | |
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
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
