about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/attributes.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-02-01 00:50:28 +0000
committerbors <bors@rust-lang.org>2022-02-01 00:50:28 +0000
commita6cd4aa9a784e3d2e54bca2a1b41082fda67310d (patch)
treec423461f7720efc62cfe443a9adc0e7ac5d487cd /compiler/rustc_codegen_llvm/src/attributes.rs
parent745e9264873ab001a189f739446c86c509e6dc3d (diff)
parent4ca56d28884678d89c753c03de9f0c7544d018e6 (diff)
downloadrust-a6cd4aa9a784e3d2e54bca2a1b41082fda67310d.tar.gz
rust-a6cd4aa9a784e3d2e54bca2a1b41082fda67310d.zip
Auto merge of #93386 - WaffleLapkin:rustc_must_implement_one_of_check_target, r=nagisa
Check that `#[rustc_must_implement_one_of]` is applied to a trait

`#[rustc_must_implement_one_of]` only makes sense when applied to a trait, so it's sensible to emit an error otherwise.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/attributes.rs')
0 files changed, 0 insertions, 0 deletions