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
pub mod visit;
use std::ops::RangeInclusive;

View File

@@ -1,3 +1,5 @@
//! FIXME: write short doc here
use crate::{AstNode, SyntaxNode};
use std::marker::PhantomData;

View File

@@ -1,4 +1,4 @@
// Generated file, do not edit by hand, see `crate/ra_tools/src/codegen`
//! Generated file, do not edit by hand, see `crate/ra_tools/src/codegen`
use crate::{
ast::{self, AstChildren, AstNode},

View File

@@ -1,3 +1,5 @@
//! FIXME: write short doc here
use crate::{validation, AstNode, SourceFile, TextRange, TextUnit};
use ra_text_edit::AtomTextEdit;
use std::str::{self, FromStr};

View File

@@ -1,3 +1,5 @@
//! FIXME: write short doc here
use crate::{
SyntaxKind::{self, *},
TextUnit,

View File

@@ -1,3 +1,5 @@
//! FIXME: write short doc here
use ra_parser::Token as PToken;
use ra_parser::TokenSource;

View File

@@ -1,3 +1,5 @@
//! FIXME: write short doc here
use std::mem;
use ra_parser::{ParseError, TreeSink};

View File

@@ -1,3 +1,5 @@
//! FIXME: write short doc here
use std::{iter::successors, marker::PhantomData};
use crate::{AstNode, SyntaxKind, SyntaxNode, TextRange};

View File

@@ -1,3 +1,5 @@
//! FIXME: write short doc here
use std::fmt;
use ra_parser::ParseError;

View File

@@ -1,3 +1,5 @@
//! FIXME: write short doc here
mod block;
use rustc_lexer::unescape;

View File

@@ -1,3 +1,5 @@
//! FIXME: write short doc here
use crate::{
ast::{self, AstNode, AttrsOwner},
SyntaxError,