about summary refs log tree commit diff
path: root/compiler/rustc_query_impl/src
diff options
context:
space:
mode:
authorYuki Okushi <jtitor@2k36.org>2021-07-01 05:21:02 +0900
committerGitHub <noreply@github.com>2021-07-01 05:21:02 +0900
commit7714a9a0e347cc34c83bb0971ca918a550988c05 (patch)
tree75664a32907c3b2d54b14769f574b6800ce7b629 /compiler/rustc_query_impl/src
parentf458d8f669b9d61e52e289750c6b0773b8ab070b (diff)
parentc424510746c3e890157e3c30ad7fcf2051b9f769 (diff)
downloadrust-7714a9a0e347cc34c83bb0971ca918a550988c05.tar.gz
rust-7714a9a0e347cc34c83bb0971ca918a550988c05.zip
Rollup merge of #86750 - fee1-dead:impl-const-test, r=jonas-schievink
Test cross-crate usage of `feature(const_trait_impl)`

This PR does two things:

 - Fixes metadata not encoded properly for functions in const trait impls.
 - Adds tests for using const trait impls cross-crate with the feature gate on the user crate either enabled or disabled.

AFAIK, this means we can now constify some trait impls in the standard library 🎉

See #67792 for the tracking issue, cc `@oli-obk`
Diffstat (limited to 'compiler/rustc_query_impl/src')
0 files changed, 0 insertions, 0 deletions