Skip to content

Commit 022582c

Browse files
committed
Remove Clone derive from LazyAttrTokenStreamImpl.
1 parent 3a5c4b6 commit 022582c

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

compiler/rustc_parse/src/parser/attr_wrapper.rs

-1
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,6 @@ fn has_cfg_or_cfg_attr(attrs: &[Attribute]) -> bool {
8787
//
8888
// This also makes `Parser` very cheap to clone, since
8989
// there is no intermediate collection buffer to clone.
90-
#[derive(Clone)]
9190
struct LazyAttrTokenStreamImpl {
9291
start_token: (Token, Spacing),
9392
cursor_snapshot: TokenCursor,

0 commit comments

Comments
 (0)