Uh oh!
There was an error while loading. Please reload this page.
Rollup of 7 pull requests - #70053
Conversation
…y` in a buggy manner
expand: Implement something similar to `#[cfg(accessible(path))]` cc rust-lang#64797 The feature is implemented as a `#[cfg_accessible(path)]` attribute macro rather than as `#[cfg(accessible(path))]` because it needs to wait until `path` becomes resolvable, and `cfg` cannot wait, but macros can wait. Later we can think about desugaring or not desugaring `#[cfg(accessible(path))]` into `#[cfg_accessible(path)]`. This implementation is also incomplete in the sense that it never returns "false" from `cfg_accessible(path)`, it requires some tweaks to resolve, which is not quite ready to answer queries like this during early resolution. However, the most important part of this PR is not `cfg_accessible` itself, but expansion infrastructure for retrying expansions. Before this PR we could say "we cannot resolve this macro path, let's try it later", with this PR we can say "we cannot expand this macro, let's try it later" as well. This is a pre-requisite for - turning `#[derive(...)]` into a regular attribute macro, - properly supporting eager expansion for macros that cannot yet be resolved like ``` fn main() { println!(not_available_yet!()); } macro_rules! make_available { () => { #[macro_export] macro_rules! not_available_yet { () => { "Hello world!" } }} } make_available!(); ```
VariantSizeDifferences: bail on SizeOverflow Fixesrust-lang#69485. r? @oli-obk
resolve: Fix regression in resolution of raw keywords in paths Fixesrust-lang#63882.
Bump the bootstrap compiler
Use sublice patterns to avoid computing the len r? @Centril
…unimplemented, r=eddyb Fiddle `ParamEnv` through to a place that used to use `ParamEnv::empty` in a buggy manner cc rust-lang#69981 (comment) r? @eddyb
Allow `hir().find` to return `None` Fixesrust-lang#70041 r? @eddyb
Centril
commented
Mar 16, 2020
@bors r+ p=7 rollup=never |
bors
commented
Mar 16, 2020
📌 Commit 9d325cf has been approved by |
bors
commented
Mar 16, 2020
⌛ Testing commit 9d325cf with merge b9fa22199c2a75e48c17f5d5cbbd04b3d52af2d7... |
rust-highfive
commented
Mar 16, 2020
The job Click to expand the log.I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact |
bors
commented
Mar 16, 2020
💔 Test failed - checks-azure |
Dylan-DPC-zz
commented
Mar 16, 2020
@bors retry |
bors
commented
Mar 16, 2020
Rollup of 7 pull requests Successful merges: - #69870 (expand: Implement something similar to `#[cfg(accessible(path))]`) - #69881 (VariantSizeDifferences: bail on SizeOverflow) - #70000 (resolve: Fix regression in resolution of raw keywords in paths) - #70029 (Bump the bootstrap compiler) - #70046 (Use sublice patterns to avoid computing the len) - #70049 (Fiddle `ParamEnv` through to a place that used to use `ParamEnv::empty` in a buggy manner) - #70051 (Allow `hir().find` to return `None`) Failed merges: r? @ghost
rust-highfive
commented
Mar 16, 2020
The job Click to expand the log.I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact |
jonas-schievink
commented
Mar 16, 2020
@bors r- |
Successful merges:
#[cfg(accessible(path))]#69870 (expand: Implement something similar to#[cfg(accessible(path))])ParamEnvthrough to a place that used to useParamEnv::emptyin a buggy manner #70049 (FiddleParamEnvthrough to a place that used to useParamEnv::emptyin a buggy manner)hir().findto returnNone#70051 (Allowhir().findto returnNone)Failed merges:
r? @ghost