rust/tests/ui/error-codes
bors 959b2c703d Auto merge of #115696 - RalfJung:closure-ty-print, r=oli-obk
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.
2023-09-22 15:19:38 +00:00
..
2023-04-03 15:59:21 +00:00
2023-04-17 16:09:18 -04:00
2023-04-03 15:59:21 +00:00
2023-04-03 15:59:21 +00:00
2023-04-03 15:59:21 +00:00
2023-09-18 14:03:57 +00:00
2023-01-30 20:12:19 +00:00
2023-03-08 00:00:18 +00:00
2023-03-08 00:00:18 +00:00
2023-03-08 00:00:18 +00:00
2023-01-11 14:40:02 -08:00
2023-09-10 23:06:14 +02:00
2023-01-15 19:46:20 +00:00
2023-01-15 19:46:20 +00:00
2023-02-06 06:58:30 -05:00
2023-06-05 21:00:08 +00:00
2023-01-15 19:46:20 +00:00
2023-01-18 13:14:56 +13:00
2023-05-05 21:42:54 +01:00
2023-01-23 20:38:14 +13:00
2023-01-23 20:38:14 +13:00