diff options
| author | Eduard-Mihai Burtescu <edy.burt@gmail.com> | 2020-07-05 23:00:14 +0300 |
|---|---|---|
| committer | Eduard-Mihai Burtescu <edy.burt@gmail.com> | 2020-07-05 23:00:14 +0300 |
| commit | f07100afc8650101ac924d728521e1a5d0ce9080 (patch) | |
| tree | 82e8f3dfe9a9e76aa68e70af7f33dea56bdea743 /src/librustc_plugin_impl | |
| parent | f25811e34bf89c3dde760d826ad4662c245be202 (diff) | |
| download | rust-f07100afc8650101ac924d728521e1a5d0ce9080.tar.gz rust-f07100afc8650101ac924d728521e1a5d0ce9080.zip | |
Use for<'tcx> fn pointers in Providers, instead of having Providers<'tcx>.
Diffstat (limited to 'src/librustc_plugin_impl')
| -rw-r--r-- | src/librustc_plugin_impl/build.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_plugin_impl/build.rs b/src/librustc_plugin_impl/build.rs index 34522cfe97f..db2363316cd 100644 --- a/src/librustc_plugin_impl/build.rs +++ b/src/librustc_plugin_impl/build.rs @@ -57,6 +57,6 @@ fn plugin_registrar_fn(tcx: TyCtxt<'_>, cnum: CrateNum) -> Option<DefId> { } } -pub fn provide(providers: &mut Providers<'_>) { +pub fn provide(providers: &mut Providers) { *providers = Providers { plugin_registrar_fn, ..*providers }; } |
