diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2018-07-26 14:53:15 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2018-07-30 07:48:59 -0700 |
| commit | ca762ba9547649f57e2d8a3e56b83d0a6298fbb2 (patch) | |
| tree | 62c5b96306e300e3bed07f9a98ef99a5c80811bb /src/rustllvm/PassWrapper.cpp | |
| parent | 54628c8ea844956f3f4f416b82067c634eb09f7b (diff) | |
| download | rust-ca762ba9547649f57e2d8a3e56b83d0a6298fbb2.tar.gz rust-ca762ba9547649f57e2d8a3e56b83d0a6298fbb2.zip | |
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/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
