Skip to content

Commit 8b9e38c

Browse files
committed
Remove useless bounds.
1 parent b136f26 commit 8b9e38c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

compiler/rustc_query_system/src/dep_graph/dep_node.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ use rustc_data_structures::stable_hasher::{HashStable, StableHasher};
5050
use std::fmt;
5151
use std::hash::Hash;
5252

53-
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Encodable, Decodable)]
53+
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
5454
pub struct DepNode<K> {
5555
pub kind: K,
5656
pub hash: PackedFingerprint,

compiler/rustc_query_system/src/dep_graph/serialized.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ impl<K: DepKind> EncoderState<K> {
258258
}
259259
}
260260

261-
#[derive(Debug, Encodable, Decodable)]
261+
#[derive(Debug)]
262262
pub struct NodeInfo<K: DepKind> {
263263
node: DepNode<K>,
264264
fingerprint: Fingerprint,

0 commit comments

Comments
 (0)