diff options
| author | Dylan DPC <dylan.dpc@gmail.com> | 2020-04-17 20:35:19 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-04-17 20:35:19 +0200 |
| commit | a12d42ba86fb1ab9541dc173311a021377f8e460 (patch) | |
| tree | 6d401ab59c5fc020326c2a8544fff5d34afbc53e /src/test/codegen/src-hash-algorithm | |
| parent | 8d67f576b56e8fc98a31123e5963f8d00e40611c (diff) | |
| parent | eb74096a32702e45bb9cd8d1c2c787c2067272d8 (diff) | |
| download | rust-a12d42ba86fb1ab9541dc173311a021377f8e460.tar.gz rust-a12d42ba86fb1ab9541dc173311a021377f8e460.zip | |
Rollup merge of #69642 - ecstatic-morse:issue-69615, r=oli-obk
Use query to determine whether function needs const checking Resolves #69615. The HIR const-checker was checking the `constness` of a function's `fn_sig` to determine whether a function needed const-checking. Now that const trait impls are a thing, this is no longer enough. All code should use the `is_const_fn_raw` query instead, which takes the constness of the impl block into account. r? @oli-obk
Diffstat (limited to 'src/test/codegen/src-hash-algorithm')
0 files changed, 0 insertions, 0 deletions
