1
Fork 0

Squashed implementation of the pass

This commit is contained in:
Alex Vlasov 2021-06-20 16:09:42 +02:00
parent 304441960e
commit aa53928ed7
8 changed files with 185 additions and 1 deletions

View file

@ -310,6 +310,8 @@ language_item_table! {
Try, sym::Try, try_trait, Target::Trait;
SliceLen, sym::slice_len_fn, slice_len_fn, Target::Method(MethodKind::Inherent);
// Language items from AST lowering
TryTraitFromResidual, sym::from_residual, from_residual_fn, Target::Method(MethodKind::Trait { body: false });
TryTraitFromOutput, sym::from_output, from_output_fn, Target::Method(MethodKind::Trait { body: false });