Fix double error for export_name

Signed-off-by: Jonathan Brouwer <jonathantbrouwer@gmail.com>
This commit is contained in:
Jonathan Brouwer
2025-06-29 11:30:47 +02:00
parent 0fcf295b64
commit 86b54d5729
3 changed files with 75 additions and 88 deletions

View File

@@ -303,6 +303,7 @@ fn emit_malformed_attribute(
| sym::must_use
| sym::track_caller
| sym::link_name
| sym::export_name
) {
return;
}