MANIFOLD
Will Rust support specialization on stable by end of 2026?
10
แน€110แน€388
2027
5%
chance

RFC: https://rust-lang.github.io/rfcs/1210-impl-specialization.html

GitHub issue: https://github.com/rust-lang/rust/issues/31844

  • Update 2026-02-13 (PST) (AI summary of creator comment): The implementation does not have to match the RFC exactly, but negative trait impls alone would not count.

The core requirement is: multiple impls must be allowed as long as they each apply to progressively narrower sets of types.

As a concrete test case: the first AddAssign example in the RFC must be supported by whatever mechanism Rust implements.

Market context
Get
แน€1,000
to start trading!
Sort by:

What counts as "supporting specialization"? Does Rust have to implement precisely that RFC? Or would it suffice to have a mechanism that allows "if the type supports this trait do X, if the type doesn't support this trait do Y"?

@josh It doesn't have to be exactly this RFC but I think negative trait impls by itself would not count. The core spirit of specialization is being able to have multiple impls as long as they each apply to a narrower and narrower set of types. As a concrete criteria the first AddAssign example in the RFC should be handled which I don't believe can be done with just your mechanism.

Title says "by 2026" but market closure is set to 2027. Should the title be "by the end of 2026" instead?

@SergeyDavidoff Good catch, fixed

I'm buying YES not because I really think it will, but because I really hope it will.

ยฉ Manifold Markets, Inc.โ€ขTermsโ€ขPrivacy