mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Also make the titles and one line summaries a little more consistent (at least for diagnsotic groups and upcoming language features, haven't gone through the educational notes).
573 B
573 B
Unknown warning group (UnknownWarningGroup)
Warnings for unrecognized warning groups specified in -Wwarning or -Werror.
Overview
swiftc -Werror non_existing_group file.swift
<unknown>:0: warning: unknown warning group: 'non_existing_group'
Such warnings are emitted after the behavior for all specified warning groups has been processed, which means their behavior can also be specified. For example:
swiftc -Werror UnknownWarningGroup -Werror non_existing_group file.swift
<unknown>:0: error: unknown warning group: 'non_existing_group'