about summary refs log tree commit diff
path: root/src/test/debuginfo/enum-thinlto.rs
diff options
context:
space:
mode:
authorMark Rousskov <mark.simulacrum@gmail.com>2019-10-10 19:33:00 -0400
committerMark Rousskov <mark.simulacrum@gmail.com>2019-10-17 19:41:21 -0400
commit6be0a7081a9aafc4e0b39cae266fbed5eabd8993 (patch)
tree6029a490136be5982d68ee7a68a5fd46e48f03cb /src/test/debuginfo/enum-thinlto.rs
parentb761367d52b30c86a7d404a64a3b2dd854cd7418 (diff)
downloadrust-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