Files
swift-mirror/userdocs/diagnostics/upcoming-language-features.md
Ben Barham 55f61a84ca Re-generate diagnostics index and cleanup old notes
This is mostly just cleanup:
1. Removes `diagnostic-descriptions.md` since it isn't used any more
2. Adds the group name to all the old notes files
3. Removes trailing whitespace
4. Adds "See Also" sections for notes that have links
2025-10-20 19:19:36 -07:00

869 B

Upcoming language features

Upcoming language features enable new (but potentially source breaking) functionality that be enabled by default in an upcoming language mode.

Overview

Upcoming language features allow the incremental adoption of language features that would otherwise only be available in a new language mode, without having to fully migrate to that mode. They can be enabled on the command line with -enable-upcoming-feature <feature>.

Some upcoming features have an additional "migration" mode, where the compiler will emit warnings with fix-its to help migrate to that mode. This can be enabled with -enable-upcoming-feature <feature>:migrate.

Topics