Files
swift-mirror/userdocs/diagnostics/strict-language-features.md
Doug Gregor f45271f569 Move diagnostic group documentation in with educational notes
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.
2025-02-27 21:19:02 -08:00

444 B

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.