about summary refs log tree commit diff
path: root/compiler/rustc_query_system
diff options
context:
space:
mode:
authorMark Rousskov <mark.simulacrum@gmail.com>2022-02-09 17:39:50 -0500
committerMark Rousskov <mark.simulacrum@gmail.com>2022-02-20 18:58:22 -0500
commit24dc0521324830dd4a64f528413a1650493ced7a (patch)
tree7e0bf96c84f05fded3158ca268ce552c779d2c1d /compiler/rustc_query_system
parent2d8595e0d78377a39882b1b9cad8159adb365d69 (diff)
downloadrust-24dc0521324830dd4a64f528413a1650493ced7a.tar.gz
rust-24dc0521324830dd4a64f528413a1650493ced7a.zip
Delete Decoder::read_seq_elt
Diffstat (limited to 'compiler/rustc_query_system')
-rw-r--r--compiler/rustc_query_system/src/dep_graph/serialized.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_query_system/src/dep_graph/serialized.rs b/compiler/rustc_query_system/src/dep_graph/serialized.rs
index 29db5a9878e..2ac5d5431a5 100644
--- a/compiler/rustc_query_system/src/dep_graph/serialized.rs
+++ b/compiler/rustc_query_system/src/dep_graph/serialized.rs
@@ -133,7 +133,7 @@ impl<'a, K: DepKind + Decodable<opaque::Decoder<'a>>> Decodable<opaque::Decoder<
             d.read_seq(|d, len| {
                 let start = edge_list_data.len().try_into().unwrap();
                 for _ in 0..len {
-                    let edge = d.read_seq_elt(Decodable::decode);
+                    let edge = Decodable::decode(d);
                     edge_list_data.push(edge);
                 }
                 let end = edge_list_data.len().try_into().unwrap();