Address comments: fix docs, add completion test for Self.

This commit is contained in:
ice1000 2019-10-08 07:25:37 -04:00
parent 6bad638928
commit b043358be9
4 changed files with 32 additions and 5 deletions

View file

@ -45,7 +45,7 @@ pub(crate) enum Scope {
GenericParams(Arc<GenericParams>),
/// Brings `Self` in `impl` block into scope
ImplBlockScope(ImplBlock),
/// Brings `Self` in enum definition into scope
/// Brings `Self` in enum, struct and union definitions into scope
AdtScope(Adt),
/// Local bindings
ExprScope(ExprScope),