Struct rustc_infer::infer::error_reporting::need_type_info::InferenceDiagnosticsParentData [−][src]
pub struct InferenceDiagnosticsParentData {
pub prefix: &'static str,
pub name: String,
pub def_id: DefId,
}Expand description
Data on the parent definition where a generic argument was declared.
Fields
prefix: &'static strname: Stringdef_id: DefIdImplementations
Auto Trait Implementations
impl Send for InferenceDiagnosticsParentDataimpl Sync for InferenceDiagnosticsParentDataimpl Unpin for InferenceDiagnosticsParentDataimpl UnwindSafe for InferenceDiagnosticsParentDataBlanket Implementations
Layout
Note: Most layout information is completely unstable and may be different between compiler versions and platforms. The only exception is types with certain repr(...) attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 48 bytes