Skip to content

Latest commit

 

History

History
28 lines (16 loc) · 772 Bytes

unclear.md

File metadata and controls

28 lines (16 loc) · 772 Bytes

% Changes with unclear timing

Associated items

  • Many traits that currently take type parameters should instead use associated types; this will drastically simplify signatures in some cases.

  • Associated constants would be useful in a few places, e.g. traits for numerics, traits for paths.

Anonymous, unboxed return types (aka impl Trait types)

  • See rust-lang/rfcs#105

  • Could affect API design in several places, e.g. the Iterator trait.

Default type parameters

We are already using this in a few places (e.g. HashMap), but it's feature-gated.

Compile-time function evaluation (CTFE)

rust-lang/rust#11621

Improved constant folding

rust-lang/rust#7834