Vadim Petrochenkov
Vadim Petrochenkov
@glaebhoerl > C++ variadic generics (as is C++'s wont) are both very powerful and... very ugly. Lifting the high-level design for this kind of advanced feature from C++ simply because...
Previous iteration on this idea: https://github.com/rust-lang/rfcs/pull/1218 (without FP and with "related problems" though). Some practical evaluation: https://internals.rust-lang.org/t/implicit-widening-polymorphic-indexing-and-similar-ideas/1141/70
I don't think that lexical structure, the "foundation" of the language, should be extended to support a build system feature. From the language point of view the new added data...
@traviscross I've removed the process disclaimer. It's probably fine to treat this as a normal compiler & language RFC for an experimental feature, the text is relatively detailed. But it...
@Kobzol @ericsampson I did look at `delegate`, `ambassador` and everything else in [literature](https://github.com/petrochenkov/rfcs/blob/delegation/text/0000-fn-delegation.md#literature) before collecting my statistics, that knowledge sort of guided which statistics to collect. Regarding the specific suggestions:...
Regarding reflection, I'm interested in seeing proposals, but I'm not sure it's even implementable in a general enough form with Rust type system, and the readiness timeline will be 5-10...
## Design question: how exactly the body template is duplicated for list or glob delegation Typically the target expression (i.e. to what we delegate) in a delegation item is very...
I prototyped this feature back in 2018 and converted rustfmt to this style, but later dropped the corresponding rustfmt branch, accidentally and unfortunately. But the experience report is preserved at...
What exactly happens with an attribute and path grammar with this change? `#[unsafe(...)]` doesn't fit into the current path grammar because it's a keyword. Does `unsafe` become a path segment...
Also, how is `unsafe` expanded? Is it a (built-in) procedural macro, or an active built-in attribute like `cfg`/`cfg_attr`, or an inert attribute "expanded" e.g. during lowering to HIR (then the...