diff options
| author | bors <bors@rust-lang.org> | 2018-10-13 11:52:49 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2018-10-13 11:52:49 +0000 |
| commit | 24faa975895b548a2868491b1268076cc599151d (patch) | |
| tree | 40d9eb773863de13bd2f7bfcad5e88eb19bf1f96 /src/rustllvm/RustWrapper.cpp | |
| parent | 2d81989974a134025be733115574bee8084095b4 (diff) | |
| parent | 2ecce7ccc5d74eb3d6b0ff400b2a19944e2ae51a (diff) | |
| download | rust-24faa975895b548a2868491b1268076cc599151d.tar.gz rust-24faa975895b548a2868491b1268076cc599151d.zip | |
Auto merge of #54997 - davidtwco:issue-54896, r=nagisa
The #[panic_handler] attribute can be applied to non-functions Fixes #54896. This commit extends the existing lang items functionality to assert that the `#[lang_item]` attribute is only found on the appropriate item for any given lang item. That is, language items representing traits must only ever have their corresponding attribute placed on a trait, for example. r? @nagisa
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
