mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-29 20:46:07 +03:00
959b2c703d
adjust how closure/generator types are printed I saw `&[closure@$DIR/issue-20862.rs:2:5]` and I thought it is a slice type, because that's usually what `&[_]` is... it took me a while to realize that this is just a confusing printer and actually there's no slice. Let's use something that cannot be mistaken for a regular type.