Avoid specialization for AttrId deserialization
This commit is contained in:
parent
8d598b0d58
commit
47936b4813
4 changed files with 30 additions and 23 deletions
|
@ -741,6 +741,10 @@ impl<'a, 'tcx> SpanDecoder for CacheDecoder<'a, 'tcx> {
|
|||
panic!("Failed to convert DefPathHash {def_path_hash:?}")
|
||||
})
|
||||
}
|
||||
|
||||
fn decode_attr_id(&mut self) -> rustc_span::AttrId {
|
||||
panic!("cannot decode `AttrId` with `CacheDecoder`");
|
||||
}
|
||||
}
|
||||
|
||||
impl<'a, 'tcx> Decodable<CacheDecoder<'a, 'tcx>> for &'tcx UnordSet<LocalDefId> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue