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_codegen_llvm/lib.rs | |
| 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_codegen_llvm/lib.rs')
| -rw-r--r-- | src/librustc_codegen_llvm/lib.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/librustc_codegen_llvm/lib.rs b/src/librustc_codegen_llvm/lib.rs index 565968f9952..67d4b2642c0 100644 --- a/src/librustc_codegen_llvm/lib.rs +++ b/src/librustc_codegen_llvm/lib.rs @@ -241,11 +241,11 @@ impl CodegenBackend for LlvmCodegenBackend { Box::new(metadata::LlvmMetadataLoader) } - fn provide(&self, providers: &mut ty::query::Providers<'_>) { + fn provide(&self, providers: &mut ty::query::Providers) { attributes::provide(providers); } - fn provide_extern(&self, providers: &mut ty::query::Providers<'_>) { + fn provide_extern(&self, providers: &mut ty::query::Providers) { attributes::provide_extern(providers); } |
