Use Semantics::resolve_method_call_as_callable to find implementation

This commit is contained in:
1hakusai1 2025-01-20 21:17:48 +09:00
parent e8a63e43b1
commit 5384dd8947
6 changed files with 89 additions and 59 deletions

View file

@ -174,6 +174,7 @@ define_symbols! {
const_param_ty,
Context,
Continue,
convert,
copy,
Copy,
core_panic,
@ -239,6 +240,8 @@ define_symbols! {
format_unsafe_arg,
format,
freeze,
From,
FromStr,
from_output,
from_residual,
from_usize,
@ -457,6 +460,7 @@ define_symbols! {
transmute_trait,
transparent,
Try,
TryFrom,
tuple_trait,
u128,
u16,