Error on define_opaques
entries without any opaques actually referenced
This commit is contained in:
parent
43e39260f9
commit
69a1bb8bdb
6 changed files with 17 additions and 7 deletions
|
@ -1308,7 +1308,7 @@ impl Attribute {
|
|||
pub struct AttributeMap<'tcx> {
|
||||
pub map: SortedMap<ItemLocalId, &'tcx [Attribute]>,
|
||||
/// Preprocessed `#[define_opaque]` attribute.
|
||||
pub define_opaque: Option<&'tcx [LocalDefId]>,
|
||||
pub define_opaque: Option<&'tcx [(Span, LocalDefId)]>,
|
||||
// Only present when the crate hash is needed.
|
||||
pub opt_hash: Option<Fingerprint>,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue