update coherence docs, fix opaque type + generator ice

This commit is contained in:
lcnr
2022-04-12 16:02:57 +02:00
parent 1491e5cc14
commit 58781edc54
7 changed files with 120 additions and 22 deletions

View File

@@ -60,6 +60,9 @@ pub enum Reveal {
/// let <() as Assoc>::Output = true;
/// }
/// ```
///
/// We also do not reveal the hidden type of opaque types during
/// type-checking.
UserFacing,
/// At codegen time, all monomorphic projections will succeed.