diff options
| author | Esteban Küber <esteban@kuber.com.ar> | 2021-05-04 08:41:40 -0700 |
|---|---|---|
| committer | Esteban Küber <esteban@kuber.com.ar> | 2021-05-04 08:41:40 -0700 |
| commit | 11379f0494b6a8c81b3fb9e0411651bc749aaa06 (patch) | |
| tree | 233e954daa881db154ab742d9d31c74cc381278d /compiler/rustc_codegen_llvm/src/asm.rs | |
| parent | 0309953232d9957aef4c7c5a24fcb30735b2066b (diff) | |
| download | rust-11379f0494b6a8c81b3fb9e0411651bc749aaa06.tar.gz rust-11379f0494b6a8c81b3fb9e0411651bc749aaa06.zip | |
Do not ICE on invalid const param
When encountering a path that can't have generics, do not call `generics_of`. This would happen when writing something like `path::this_is_a_mod<const_val>`. Fix #84831.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/asm.rs')
0 files changed, 0 insertions, 0 deletions
