-
-
Notifications
You must be signed in to change notification settings - Fork 29
Open
Labels
low priorityNot a near-term goal / not easily achievableNot a near-term goal / not easily achievable
Description
KAS currently requires may use unstable language features when using nightly Rust.
Features enabled by the nightly
feature flag (optional but recommended):
nightly-diagnostics
— used inkas-macros
for better diagnosticsno longer usedmin_specialization
— used by theLabel
widget to select appropriate draw routineThis feature is now stable!generic_associated_types
— used in several places where associated types require a lifetime parameter, and desired to use in several more places.unsafe
and boxing/cloning used as workarounds.
Additional (not generally recommended) nightly features:
spec
— theTryFormat
utility uses specialisation to implDebug
where available on a generic typedoc_cfg
— enables annotation of feature flags in documentation
Features not used but desired:
if-let-chainsNow stable- permit _ in type aliases
- Equality constraints in where clauses
- Extended GATs (object-safe traits using GATs for lifetimes)
- Some way to simulate &mut reborrows in user code
- Direct support for anonymous trait object constructions (i.e. a custom, single-instance type definition, trait implementation, and instantiation). Related: structural records (but support for attribute macros and custom trait implementations is required).
- Inherent associated types
Metadata
Metadata
Assignees
Labels
low priorityNot a near-term goal / not easily achievableNot a near-term goal / not easily achievable