about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2020-07-22 16:34:41 -0700
committerGitHub <noreply@github.com>2020-07-22 16:34:41 -0700
commit4828895cd913d94d7a5e2aa5c1789b51a59dac23 (patch)
treedc88733b11cb7dd0bccf7db0ad26ad84ff3f8d84 /src/rustllvm/RustWrapper.cpp
parent02e350f5a2a0dc35a533ee3154aa7b92176ab7bc (diff)
parentb3340b5cea5fdaefa4cbc7eec8ceb0592ebe2255 (diff)
downloadrust-4828895cd913d94d7a5e2aa5c1789b51a59dac23.tar.gz
rust-4828895cd913d94d7a5e2aa5c1789b51a59dac23.zip
Rollup merge of #74538 - nbdd0121:issue-73976, r=lcnr
Guard against non-monomorphized type_id intrinsic call

This PR checks whether the type is sufficient monomorphized when calling type_id or type_name intrinsics. If the type is not sufficiently monomorphized, e.g. used in a pattern, the code will be rejected.

Fixes #73976
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions