about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorTrevor Gross <t.gross35@gmail.com>2024-07-26 19:03:08 -0400
committerGitHub <noreply@github.com>2024-07-26 19:03:08 -0400
commit7eaf74743b600b031c862e24e97e4861b885183c (patch)
tree71f1889d188b229fd28b1a59429d8aed5836fc7d /compiler/rustc_codegen_llvm/src
parentf9209ae8c50d8176726380d05b9f9757904be8b7 (diff)
parent3fdc99193e95a29b6fd2228b0acc5f8b4a81feda (diff)
downloadrust-7eaf74743b600b031c862e24e97e4861b885183c.tar.gz
rust-7eaf74743b600b031c862e24e97e4861b885183c.zip
Rollup merge of #128229 - tdittr:unsafe-extern-abi-error, r=compiler-errors
Improve `extern "<abi>" unsafe fn()` error message

These errors were already reported in #87217, and fixed by #87235 but missed the case of an explicit ABI.

This PR does not cover multiple keywords like `extern "C" pub const unsafe fn()`, but I don't know what a good way to cover this  would be. It also seems rarer than `extern "C" unsafe` which I saw happen a few times in workshops.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions