I have Swift code for the CGPoint extension:
extension CGPoint: Hashable { public var hashValue:Int { return self.x.hashValue ^ self.y.hashValue } }
The very first line causes an error in Xcode, redundant "CGPoint" for the "Hashable" protocol:

But this is not redundant. The following line of code, later in my Swift file, relies on it:
private var borderPoints:Set<CGPoint>?
At its core, the code builds and works fine, that is, I can ignore the Xcode error message. If I listen to the error message and remove the protocol compatibility (which Xcode says is redundant), my code cannot be built and Xcode will throw an error. Type "CGPoint" does not comply with the "Hashable" protocol:

Since my code is not being generated right now, this is a bug that I have to fix, i.e. I need to enable protocol compliance that Xcode complained about earlier.
Swift is a new language, so I don't mind too much if it's just a mistake in understanding Xcode extensions and protocol compliance, but I would like to disable the error message. I know how to disable them for the whole project , but what is the Swift code pragma to disable this error message only for this line?
xcode swift2
dumbledad
source share