Added test for check doc strings in crates.

#1856
This commit is contained in:
Alexander Andreev 2019-09-30 11:58:53 +03:00
parent 2b69c84396
commit fdbd6bb11a
171 changed files with 419 additions and 29 deletions

View file

@ -1,3 +1,5 @@
//! FIXME: write short doc here
use super::*;
pub(super) fn inner_attributes(p: &mut Parser) {

View file

@ -1,3 +1,5 @@
//! FIXME: write short doc here
mod atom;
pub(crate) use self::atom::match_arm_list;

View file

@ -1,3 +1,5 @@
//! FIXME: write short doc here
use super::*;
// test expr_literals

View file

@ -1,3 +1,5 @@
//! FIXME: write short doc here
mod consts;
mod nominal;
mod traits;

View file

@ -1,3 +1,5 @@
//! FIXME: write short doc here
use super::*;
pub(super) fn static_def(p: &mut Parser, m: Marker) {

View file

@ -1,3 +1,5 @@
//! FIXME: write short doc here
use super::*;
pub(super) fn struct_def(p: &mut Parser, m: Marker, kind: SyntaxKind) {

View file

@ -1,3 +1,5 @@
//! FIXME: write short doc here
use super::*;
// test trait_item

View file

@ -1,3 +1,5 @@
//! FIXME: write short doc here
use super::*;
pub(super) fn use_item(p: &mut Parser, m: Marker) {

View file

@ -1,3 +1,5 @@
//! FIXME: write short doc here
use super::*;
// test param_list

View file

@ -1,3 +1,5 @@
//! FIXME: write short doc here
use super::*;
pub(super) const PATH_FIRST: TokenSet =

View file

@ -1,3 +1,5 @@
//! FIXME: write short doc here
use super::*;
pub(super) const PATTERN_FIRST: TokenSet = expressions::LITERAL_FIRST

View file

@ -1,3 +1,5 @@
//! FIXME: write short doc here
use super::*;
pub(super) fn opt_type_arg_list(p: &mut Parser, colon_colon_required: bool) {

View file

@ -1,3 +1,5 @@
//! FIXME: write short doc here
use super::*;
pub(super) fn opt_type_param_list(p: &mut Parser) {

View file

@ -1,3 +1,5 @@
//! FIXME: write short doc here
use super::*;
pub(super) const TYPE_FIRST: TokenSet = paths::PATH_FIRST.union(token_set![