Fix incorrect argument description on FnCtxt::resolve_ufcs
This commit is contained in:
parent
35af38353e
commit
c41a157b90
1 changed files with 2 additions and 2 deletions
|
|
@ -469,14 +469,14 @@ impl<'a, 'tcx> FnCtxt<'a, 'tcx> {
|
|||
}
|
||||
|
||||
/// Performs "universal function call" lookup. If lookup is successful, it will return the type
|
||||
/// of definition and the [`DefId`] of the found definition.
|
||||
/// of definition and the [`DefId`] of the found function definition.
|
||||
///
|
||||
/// # Arguments
|
||||
///
|
||||
/// Given a function call like `Foo::bar::<T1,...Tn>(...)`:
|
||||
///
|
||||
/// * `self`: the surrounding `FnCtxt` (!)
|
||||
/// * `span`: the span of the entire function call
|
||||
/// * `span`: the span of the call, excluding arguments (`Foo::bar::<T1, ...Tn>`)
|
||||
/// * `method_name`: the identifier of the function within the container type (`bar`)
|
||||
/// * `self_ty`: the type to search within (`Foo`)
|
||||
/// * `expr_id`: the [`hir::HirId`] of the expression composing the entire call
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue