swift
3ce82442 - improve error when using noncopyable type with subscript

Commit
2 years ago
improve error when using noncopyable type with subscript Subscripts today don't support any form of ownership specifier for its parameters Since noncopyable types require such a specifier, it's not helpful to emit an error suggesting to add the specifier. rdar://109233314
Author
Parents
  • include/swift/AST
    • File
      DiagnosticsSema.def
  • lib/Sema
    • File
      TypeCheckType.cpp
  • test/Sema
    • File
      moveonly_require_ownership_specifier.swift