mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-17 07:06:37 +00:00
Print the path of a return-position impl trait in trait when `return_type_notation` is enabled When we're printing a return-position impl trait in trait, we usually just print it like an opaque. This is *usually* fine, but can be confusing when using `return_type_notation`. Print the path of the method from where the RPITIT originates when this feature gate is enabled.
For more information about how rustc works, see the rustc dev guide.