about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2015-02-17 15:54:25 +0530
committerManish Goregaokar <manishsmail@gmail.com>2015-02-17 17:33:20 +0530
commit020e4e4ad981ce0518bd8e3464ac592717c41143 (patch)
treefeca45da907af4dedc7aa930a8292a5fdf78073a /src/rustllvm/RustWrapper.cpp
parent0e892283612ea21ce5aeb3be930296623facab36 (diff)
parentdc0797c0c99e7079170d0e09f82fc6f66b721932 (diff)
downloadrust-020e4e4ad981ce0518bd8e3464ac592717c41143.tar.gz
rust-020e4e4ad981ce0518bd8e3464ac592717c41143.zip
Rollup merge of #22383 - pnkfelix:pass-features-along-during-expansion, r=huonw
 Pass features along during expansion

Use the set of passed features to detect uses of feature-gated macros without the corresponding feature enabled.

Fix #22234.

----

Also, the framework this add (passing along a reference to the features in the expansion context) is a necessary precursor for landing a properly feature-gated desugaring-based overloaded-`box` and placement-`in` (#22181).

----

This is fixing a bug, but since there might be code out there that is unknowingly taking advantage of that bug, I feel obligated to mark this as a:

[breaking-change]
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions