about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2018-08-01 06:44:09 +0000
committerbors <bors@rust-lang.org>2018-08-01 06:44:09 +0000
commitc63bb1d6a7e7ede79ddc5ddf41087668266824ea (patch)
treec4d6e78ab4a91db3f68079e56507f1bb940bcde8 /src/rustllvm/RustWrapper.cpp
parente94df4acb4c3f42fdc224a7164b63a99240add1e (diff)
parentca762ba9547649f57e2d8a3e56b83d0a6298fbb2 (diff)
downloadrust-c63bb1d6a7e7ede79ddc5ddf41087668266824ea.tar.gz
rust-c63bb1d6a7e7ede79ddc5ddf41087668266824ea.zip
Auto merge of #52756 - alexcrichton:cap-applicable, r=oli-obk
rustc: Disallow machine applicability in foreign macros

Recent changes to lints disallowed lints from being emitted against code located
in foreign macros, except for future-incompatible lints. For a future
incompatible lint, however, the automatic suggestions may not be applicable!

This commit updates this code path to force all applicability suggestions made
to foreign macros to never be `MachineApplicable`. This should avoid rustfix
actually attempting fixing these suggestions, causing non-compiling code to be
produced.

Closes rust-lang/cargo#5799
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions