diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2020-07-30 13:04:42 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-07-30 13:04:42 -0700 |
| commit | b0d426165f871f4e50d2fae47e6a5e9c54d1ba12 (patch) | |
| tree | 2f8a1f06c031b50b87bac239c716527a4f4c9477 /src/rustllvm/RustWrapper.cpp | |
| parent | 0a45b1303cafc39458ffd3944dcf74c8b4200df6 (diff) | |
| parent | 4e963d58c7d94270697c2765f23993e40757292f (diff) | |
| download | rust-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
