Files
swift-mirror/include/swift/AST/EducationalNotes.def

38 lines
1.4 KiB
C++

//===-- EducationalNotes.def - Diagnostic Documentation Content -*- C++ -*-===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2019 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See https://swift.org/LICENSE.txt for license information
// See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
//
//===----------------------------------------------------------------------===//
//
// This file associates diagnostics with relevant educational notes which
// explain important concepts.
//
//===----------------------------------------------------------------------===//
#ifndef EDUCATIONAL_NOTES
# error Must define EDUCATIONAL_NOTES
#endif
// EDUCATIONAL_NOTES(DIAG_ID, EDUCATIONAL_NOTE_FILENAMES...)
EDUCATIONAL_NOTES(non_nominal_no_initializers, "nominal-types.md")
EDUCATIONAL_NOTES(non_nominal_extension, "nominal-types.md")
EDUCATIONAL_NOTES(associated_type_witness_conform_impossible,
"nominal-types.md")
EDUCATIONAL_NOTES(cannot_infer_closure_result_type,
"complex-closure-inference.md")
EDUCATIONAL_NOTES(invalid_dynamic_callable_type,
"dynamic-callable-requirements.md")
EDUCATIONAL_NOTES(missing_dynamic_callable_kwargs_method,
"dynamic-callable-requirements.md")
#undef EDUCATIONAL_NOTES