about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorMara Bos <m-ou.se@m-ou.se>2021-01-09 16:48:58 +0100
committerMara Bos <m-ou.se@m-ou.se>2021-01-09 19:50:06 +0100
commitd651fa78cefecefa87fa3d7dc1e1389d275afb63 (patch)
tree45bc43f0d9979d6cd5051426d24cab97102593ae /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent1f9dc9a1821d55b1641c517feac7fcd6ac76aadc (diff)
downloadrust-d651fa78cefecefa87fa3d7dc1e1389d275afb63.tar.gz
rust-d651fa78cefecefa87fa3d7dc1e1389d275afb63.zip
Allow #[rustc_builtin_macro = "name"].
This makes it possible to have both std::panic and core::panic as a
builtin macro, by using different builtin macro names for each.

Also removes SyntaxExtension::is_derive_copy, as the macro name (e.g.
sym::Copy) is now tracked and provides that information directly.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions