Files
swift-mirror/test/Sema/Inputs/fixits-derived-conformances-multifile.swift
Robert Widmann 3a3f92a2f7 Implement Richer Diagnostics for Cross-File Synthesis Failures
Mention the type, the requirement, and the extension in the error that
follows. In editor mode, try to insert stubs for the missing requirement
as well so the user isn't just left with a pile of unactionable errors.
2020-08-11 15:30:23 -07:00

7 lines
295 B
Swift

public enum Enum { case one } // expected-note {{type declared here}}
public enum GenericEnum<T> { case one(Int) } // expected-note {{type declared here}}
public struct Struct {} // expected-note {{type declared here}}
public struct GenericStruct<T> {} // expected-note {{type declared here}}