diff options
| author | Mark Rousskov <mark.simulacrum@gmail.com> | 2019-10-10 19:33:00 -0400 |
|---|---|---|
| committer | Mark Rousskov <mark.simulacrum@gmail.com> | 2019-10-17 19:41:21 -0400 |
| commit | 6be0a7081a9aafc4e0b39cae266fbed5eabd8993 (patch) | |
| tree | 6029a490136be5982d68ee7a68a5fd46e48f03cb /src/test/debuginfo/enum-thinlto.rs | |
| parent | b761367d52b30c86a7d404a64a3b2dd854cd7418 (diff) | |
| download | rust-6be0a7081a9aafc4e0b39cae266fbed5eabd8993.tar.gz rust-6be0a7081a9aafc4e0b39cae266fbed5eabd8993.zip | |
Update API to be more compatible with plugin needs
Move to using Box<dyn Fn() -> ...> so that we can let plugins register state. This also adds a callback that'll get called from plugin registration so that Clippy and other tools can register lints without using the plugin API. The plugin API still works, but this new API is more compatible with drivers other than rustc.
Diffstat (limited to 'src/test/debuginfo/enum-thinlto.rs')
0 files changed, 0 insertions, 0 deletions
