about summary refs log tree commit diff
path: root/compiler/rustc_parse/src
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2024-07-07 16:24:51 +1000
committerNicholas Nethercote <n.nethercote@gmail.com>2024-07-07 16:24:51 +1000
commit022582ca46d9bedecf0b434b6a4130c9a2a4657d (patch)
tree7a7e3774a15f31c7d6a296fa3f86bc570dba183b /compiler/rustc_parse/src
parent3a5c4b6e4e4c99f9d2d10cb64a0eb591c08322e4 (diff)
downloadrust-022582ca46d9bedecf0b434b6a4130c9a2a4657d.tar.gz
rust-022582ca46d9bedecf0b434b6a4130c9a2a4657d.zip
Remove `Clone` derive from `LazyAttrTokenStreamImpl`.
Diffstat (limited to 'compiler/rustc_parse/src')
-rw-r--r--compiler/rustc_parse/src/parser/attr_wrapper.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/compiler/rustc_parse/src/parser/attr_wrapper.rs b/compiler/rustc_parse/src/parser/attr_wrapper.rs
index 2e421a7f193..38f18022e3c 100644
--- a/compiler/rustc_parse/src/parser/attr_wrapper.rs
+++ b/compiler/rustc_parse/src/parser/attr_wrapper.rs
@@ -87,7 +87,6 @@ fn has_cfg_or_cfg_attr(attrs: &[Attribute]) -> bool {
 //
 // This also makes `Parser` very cheap to clone, since
 // there is no intermediate collection buffer to clone.
-#[derive(Clone)]
 struct LazyAttrTokenStreamImpl {
     start_token: (Token, Spacing),
     cursor_snapshot: TokenCursor,