about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/asm.rs
diff options
context:
space:
mode:
authorEsteban Küber <esteban@kuber.com.ar>2021-05-04 08:41:40 -0700
committerEsteban Küber <esteban@kuber.com.ar>2021-05-04 08:41:40 -0700
commit11379f0494b6a8c81b3fb9e0411651bc749aaa06 (patch)
tree233e954daa881db154ab742d9d31c74cc381278d /compiler/rustc_codegen_llvm/src/asm.rs
parent0309953232d9957aef4c7c5a24fcb30735b2066b (diff)
downloadrust-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