diff options
| author | bors <bors@rust-lang.org> | 2023-10-13 10:18:49 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-10-13 10:18:49 +0000 |
| commit | c40359d97aed59d462b8ea293abe7c3f0762f5e9 (patch) | |
| tree | 0cd2a9a4d7c99fea734959372d909ce7b1e6c839 /compiler/rustc_codegen_gcc/example/std_example.rs | |
| parent | ff00e9c8c0e4e894e0b5f894ea2948aa8684c704 (diff) | |
| parent | 9fc717dea3718dc982e33973aa3fd78a77668733 (diff) | |
| download | rust-c40359d97aed59d462b8ea293abe7c3f0762f5e9.tar.gz rust-c40359d97aed59d462b8ea293abe7c3f0762f5e9.zip | |
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
Diffstat (limited to 'compiler/rustc_codegen_gcc/example/std_example.rs')
0 files changed, 0 insertions, 0 deletions
