mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-28 19:27:30 +03:00
bdb0fa3ee5
Pretty-print argument-position impl trait to name it. This removes a corner case. RPIT and TAIT keep having no name, and it would be wrong to use the one in HIR (Ident::empty), so I make this case ICE.
For more information about how rustc works, see the rustc dev guide.