rust/compiler
bors 1d5b7c3c96 Auto merge of #78420 - estebank:suggest-assoc-fn, r=petrochenkov
Suggest calling associated `fn` inside `trait`s

When calling a function that doesn't exist inside of a trait's
associated `fn`, and another associated `fn` in that trait has that
name, suggest calling it with the appropriate fully-qualified path.

Expand the label to be more descriptive.

Prompted by the following user experience:
https://users.rust-lang.org/t/cannot-find-function/50663
2020-11-01 06:49:16 +00:00
..
2020-09-11 09:37:51 -07:00
2020-10-30 10:13:39 -04:00
2020-10-29 16:51:46 +01:00
2020-10-30 10:13:39 -04:00
2020-09-23 21:51:56 +02:00
2020-10-30 10:13:39 -04:00
2020-09-23 21:51:56 +02:00
2020-10-30 12:27:47 +01:00
2020-10-30 10:13:41 -04:00
2020-09-23 21:51:56 +02:00
2020-09-23 21:51:56 +02:00