Substitute missing trait items suggestion correctly by compiler-errors · Pull Re...
source link: https://github.com/rust-lang/rust/pull/110555
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Conversation
Properly substitute missing item suggestions, so that when they reference generics from their parent trait they actually have the right time for the impl.
Also, some other minor tweaks like using /* Type */
to signify a GAT's type is actually missing, and fixing generic arg suggestions for GATs in general.
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK