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-30 13:04:42 -0700
committerGitHub <noreply@github.com>2020-07-30 13:04:42 -0700
commitb0d426165f871f4e50d2fae47e6a5e9c54d1ba12 (patch)
tree2f8a1f06c031b50b87bac239c716527a4f4c9477 /src/rustllvm/RustWrapper.cpp
parent0a45b1303cafc39458ffd3944dcf74c8b4200df6 (diff)
parent4e963d58c7d94270697c2765f23993e40757292f (diff)
downloadrust-b0d426165f871f4e50d2fae47e6a5e9c54d1ba12.tar.gz
rust-b0d426165f871f4e50d2fae47e6a5e9c54d1ba12.zip
Rollup merge of #74934 - nbdd0121:issue-73976, r=ecstatic-morse
Improve diagnostics when constant pattern is too generic

This PR is a follow-up to PR #74538 and issue #73976

When constants queries Layout, TypeId or type_name of a generic parameter, instead of emitting `could not evaluate constant pattern`, we will instead emit a more detailed message `constant pattern depends on a generic parameter`.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions