This commit is contained in:
Laurențiu Nicola 2021-07-24 11:20:40 +03:00
parent d9ec9d95c5
commit 1da21b797a

View File

@ -1,8 +1,8 @@
//! Completes lifetimes and labels.
//!
//! These completions work a bit differently in that they are only shown when what the user types
//! has a `'` preceding it, as our fake syntax tree is invalid otherwise(due to us not inserting a
//! lifetime but an ident for obvious reasons).
//! has a `'` preceding it, as our fake syntax tree is invalid otherwise (due to us not inserting
//! a lifetime but an ident for obvious reasons).
//! Due to this all the tests for lifetimes and labels live in this module for the time being as
//! there is no value in lifting these out into the outline module test since they will either not
//! show up for normal completions, or they won't show completions other than lifetimes depending