about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/Linker.cpp
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-08-17 18:18:18 +0200
committerGitHub <noreply@github.com>2024-08-17 18:18:18 +0200
commitcfeded47a4e54ee95f5fd52f70d3282989b0cc02 (patch)
tree8f12a46825c10b8b50e899a98d090056b45548d7 /compiler/rustc_llvm/llvm-wrapper/Linker.cpp
parentc6f81a452e291dd4ff5bcbc6ecb9cd6f2271f164 (diff)
parent3c8dad152bc1e3baca25e5b7b6b7ea6eccef060a (diff)
downloadrust-cfeded47a4e54ee95f5fd52f70d3282989b0cc02.tar.gz
rust-cfeded47a4e54ee95f5fd52f70d3282989b0cc02.zip
Rollup merge of #128989 - s7tya:check-linkage-attribute-pos, r=petrochenkov
Emit an error for invalid use of the linkage attribute

fixes #128486

Currently, the use of the linkage attribute for Mod, Impl,... is incorrectly permitted. This PR will correct this issue by generating errors, and I've also added some UI test cases for it.

Related: #128552.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/Linker.cpp')
0 files changed, 0 insertions, 0 deletions