tests: backport an additional test case

This commit is contained in:
Caleb Cartwright 2020-11-28 18:03:48 -06:00 committed by Caleb Cartwright
parent c7359945a4
commit fb7e604538
2 changed files with 6 additions and 1 deletions

View File

@ -2,7 +2,7 @@
use rustc_ast::ast;
use rustc_ast::attr::HasAttrs;
use rustc_span::{symbol::sym, BytePos, Span, Symbol, DUMMY_SP};
use rustc_span::{symbol::sym, Span, Symbol};
use self::doc_comment::DocCommentFormatter;
use crate::comment::{contains_comment, rewrite_doc_comment, CommentStyle};

View File

@ -0,0 +1,5 @@
#[derive(Debug, Foo<T>)]
enum Bar {}
#[derive(Debug, , Default)]
struct Struct(i32);