mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Since these different forms of documentation have a similar purpose, and there's already some infrastructure for educational notes, unify all of the diagnostics-related documentation in a single place. We might consider unifying these ideas in the compiler as well, but that's for another day.
9 lines
444 B
Markdown
9 lines
444 B
Markdown
# Strict language feature enablement
|
|
|
|
By default, if an unrecognized feature name is specified with the
|
|
`-enable-upcoming-feature` or `-enable-experimental-feature` flags, the compiler
|
|
will ignore it without emitting a diagnostic since some projects must be
|
|
simultaneously compatible with multiple versions of the language and toolchain.
|
|
However, this warning group can be enabled to opt-in to detailed diagnostics
|
|
about misspecified features.
|