Skip to content

Commit 652eb7d

Browse files
committed
[NFC] Explain strange "==" synthesis warning
1 parent f45222c commit 652eb7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/NameLookup/module_selector.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ extension Swift::D {}
203203
// expected-note@-2 {{did you mean module 'ModuleSelectorTestingKit'?}} {{11-16=ModuleSelectorTestingKit}}
204204

205205
extension D: Swift::Equatable {
206-
// FIXME wat: expected-error@-1 *{{extension outside of file declaring struct 'D' prevents automatic synthesis of '==' for protocol 'Equatable'}}
206+
// Caused by Swift::D failing to typecheck in `equals(_:_:)`: expected-error@-1 *{{extension outside of file declaring struct 'D' prevents automatic synthesis of '==' for protocol 'Equatable'}}
207207

208208
@_implements(Swift::Equatable, Swift::==(_:_:))
209209
// expected-error@-1 {{name cannot be qualified with module selector here}} {{34-41=}}

0 commit comments

Comments
 (0)