bors c40359d97a Auto merge of #11664 - koka831:fix/11134, r=blyxyas
Fix/11134

Fix #11134

Hir of `qpath` will be `TypeRelative(Ty { kind: Path(LangItem...` when a closure contains macro (e.g. https://github.com/rust-lang/rust-clippy/issues/11651) and #11134, it causes panic.
This PR avoids panicking and emitting incomplete path string when `qpath` contains `LangItem`.

changelog: none
2023-10-13 10:18:49 +00:00
..
2023-10-13 17:12:41 +09:00
2023-09-23 13:47:30 +00:00
2023-09-23 13:47:30 +00:00
2023-10-04 21:09:54 +00:00
2023-09-23 13:47:30 +00:00
2023-09-26 13:49:15 +00:00
2023-09-26 13:49:15 +00:00
2023-10-04 21:09:54 +00:00
2023-10-07 01:28:06 +09:00
2023-10-07 01:28:06 +09:00
2023-10-04 21:09:54 +00:00
2023-10-04 21:09:54 +00:00