Skip to content

Commit c9f1e38

Browse files
committed
[NFC] Basic: Fix default SUPPRESSIBLE_UPCOMING_FEATURE definition
1 parent 47a7867 commit c9f1e38

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/swift/Basic/Features.def

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
//
33
// This source file is part of the Swift.org open source project
44
//
5-
// Copyright (c) 2021 - 2023 Apple Inc. and the Swift project authors
5+
// Copyright (c) 2021 - 2025 Apple Inc. and the Swift project authors
66
// Licensed under Apache License v2.0 with Runtime Library Exception
77
//
88
// See https://swift.org/LICENSE.txt for license information
@@ -72,7 +72,7 @@
7272
// A feature that's both suppressible and upcoming.
7373
// Delegates to whichever the includer defines.
7474
#ifndef SUPPRESSIBLE_UPCOMING_FEATURE
75-
# if defined(SUPPRESSIBLE_UPCOMING_FEATURE) && \
75+
# if defined(SUPPRESSIBLE_LANGUAGE_FEATURE) && \
7676
defined(UPCOMING_FEATURE)
7777
# error ambiguous defines when including Features.def
7878
# elif defined(SUPPRESSIBLE_LANGUAGE_FEATURE)

0 commit comments

Comments
 (0)