Skip to content

Commit b7aa160

Browse files
committed
Clean up some newly added userdocs
1 parent 6a13c37 commit b7aa160

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

userdocs/diagnostics/compilation-caching.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
1-
# Compilation Caching
1+
# Compilation caching (CompilationCaching)
2+
3+
Errors and warnings related to the compiler's CAS compilation caching.
4+
5+
6+
## Overview
27

38
Compilation caching allows Swift compiler to reuse previously compiled outputs if the identical
49
compilation has been done before.

userdocs/diagnostics/missing-module-on-known-paths.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
1-
# Missing Module On Known Path From A Dependency Note (`MissingModuleOnKnownPaths`)
1+
# Missing module on known path from a dependency (MissingModuleOnKnownPaths)
22

3+
Notes related to information about a missing module dependency.
4+
5+
6+
## Overview
37

48
This diagnostic group covers notes related to displaying information about a missing module dependency which the compiler is able to locate as present on a search path found in a loaded Swift binary module, but which is not specified to the current compilation.
59

@@ -15,4 +19,5 @@ The Swift compiler would emit a module-not-found error and a note to inform the
1519
error: Compilation search paths unable to resolve module dependency: 'Bar' [#MissingModuleOnKnownPaths]
1620
note: 'Bar' can be found using a search path that was specified when building module 'Foo' ('<Search Path>'). This search path was not specified on the current compilation.
1721
```
22+
1823
Some prior versions of the Swift compiler erroneously inherited search paths from loaded binary Swift modules and used them to resolve other, subsequently-encountered module dependencies. All search paths required to resolve direct and transitive module dependencies must be explicitly specified on the compiler invocation which will encounter these dependencies.

0 commit comments

Comments
 (0)