Skip to content

Commit 4cae366

Browse files
committed
replace some deprecated functions
1 parent 9ed19dc commit 4cae366

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/builder.rs

+1
Original file line numberDiff line numberDiff line change
@@ -500,6 +500,7 @@ impl<'a, 'gcc, 'tcx> Deref for Builder<'a, 'gcc, 'tcx> {
500500

501501
impl<'gcc, 'tcx> BackendTypes for Builder<'_, 'gcc, 'tcx> {
502502
type Value = <CodegenCx<'gcc, 'tcx> as BackendTypes>::Value;
503+
type Metadata = <CodegenCx<'gcc, 'tcx> as BackendTypes>::Metadata;
503504
type Function = <CodegenCx<'gcc, 'tcx> as BackendTypes>::Function;
504505
type BasicBlock = <CodegenCx<'gcc, 'tcx> as BackendTypes>::BasicBlock;
505506
type Type = <CodegenCx<'gcc, 'tcx> as BackendTypes>::Type;

src/context.rs

+1
Original file line numberDiff line numberDiff line change
@@ -414,6 +414,7 @@ impl<'gcc, 'tcx> CodegenCx<'gcc, 'tcx> {
414414

415415
impl<'gcc, 'tcx> BackendTypes for CodegenCx<'gcc, 'tcx> {
416416
type Value = RValue<'gcc>;
417+
type Metadata = RValue<'gcc>;
417418
type Function = RValue<'gcc>;
418419

419420
type BasicBlock = Block<'gcc>;

0 commit comments

Comments
 (0)